Personal AI APIs
Upload File
Upload a file to your memory
POST
Overview
API endpoint for uploading files (PDF, DOCX, etc.) to your Personal AI memory.
Headers
Must be set to multipart/form-data
Your Personal AI API key
File
The file to be uploaded
A JSON-encoded string containing additional request parameters
Example message_request
Body
Title of the uploaded document
Example Request
Domain name of AI Persona to upload to (e.g., “paidevelopers-python” from paidevelopers-python.personal.ai)
Example Request
ISO timestamp string indicating start time (UTC). Defaults to current time.
Example Request
ISO timestamp string indicating end time (UTC). Defaults to current time.
Example Request
Comma delimited list of tags for context and reference
Example Request
Boolean to specify whether to add the document to memory. If false, upload shows up as draft in Documents. Defaults to true.
Example Request
Example Responses
Success or error message
Example Success Response
Example Error Response
Example cURL
cURL