cURL
curl --request POST \ --url https://api.personal.ai/v1/upload-url \ --header 'Content-Type: <content-type>' \ --header 'x-api-key: <x-api-key>' \ --data '{ "Url": "<string>", "Title": "<string>", "DomainName": "<string>", "StartTime": "<string>", "EndTime": "<string>", "Tags": "<string>", "is_stack": true }'
{ "message": "<string>" }
Upload content from a URL to your memory
"Url": "https://www.youtube.com/watch?v=-9F20HckH8w"
"Title": "Personal AI Company Overview (2024)"
"DomainName": "paidevelopers-company"
"StartTime": "2024-10-09T10:00:00.000Z"
"EndTime": "2024-10-10T10:00:00.000Z"
"Tags": "personal ai,youtube,company,overview"
"is_stack": true
{ "Url": "https://www.youtube.com/watch?v=-9F20HckH8w", "Title": "Personal AI Company Overview (2024)", "DomainName": "paidvelopers-company", "Tags": "personal ai,youtube,company,overview", "is_stack": true, "StartTime": "2024-10-09T10:00:00.000Z", "EndTime": "2024-10-10T10:00:00.000Z" }
{ "message": "url accepted and processing" }
{ "detail": "AI url upload unauthorized." }
curl --location 'https://api.personal.ai/v1/upload-url' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <your-api-key>' \ --data '{ "Url": "https://personal.ai", "Title": "Personal AI", "DomainName": "ai", "is_stack": false }'