Upload File
Upload a file (PDF, DOCX, XLSX, PPTX, TXT, CSV, MD, HTML, JSON) as a memory.
POST/v1/memories/upload
Request
Content-Type: multipart/form-data
filefilerequiredThe file to upload. Supported: .pdf, .docx, .xlsx, .pptx, .txt, .csv, .md, .html, .json. Max 100 MB.
titlestringOverride the filename as title.
typestringContent type.
tagsstringJSON-encoded array of tags.
metadatastringJSON-encoded metadata object.
languagestringISO 639-1 language code.
userIdstringAssociate with a user.
Response
Returns 202 Accepted with the memory object. The file is processed asynchronously — poll the Get Memory endpoint to check status.
idstringUnique memory identifier.
statusstringAlways processing initially.
titlestringFilename or custom title.
tagsstring[]Tags associated with the memory.
created_atstringISO 8601 timestamp.