Upload a file to be processed
Documentation Index
Fetch the complete documentation index at: https://supermemory-docs-smfs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
File upload form data schema
File to upload and process
Optional container tag (e.g., 'user_123'). Use this for a single tag.
"user_123"
Optional container tags. Can be either a JSON string of an array (e.g., '["user_123", "project_123"]') or a single string (e.g., 'user_123'). Single strings will be automatically converted to an array.
"[\"user_123\", \"project_123\"]"
Optional file type override to force specific processing behavior. Valid values: text, pdf, tweet, google_doc, google_slide, google_sheet, image, video, notion_doc, webpage, onedrive
"image"
Required when fileType is 'image' or 'video'. Specifies the exact MIME type to use (e.g., 'image/png', 'image/jpeg', 'video/mp4', 'video/webm')
Optional metadata for the document as a JSON string. This is used to store additional information about the document. Keys must be strings and values can be strings, numbers, or booleans.
"{\"category\": \"technology\", \"isPublic\": true, \"readingTime\": 5}"
Optional file path for the uploaded file (e.g., '/documents/reports/file.pdf'). Used by supermemoryfs to map documents to filesystem paths.
"/documents/reports/file.pdf"
DEPRECATED: This field is no longer used. Advanced PDF processing is now automatic with our hybrid Mistral OCR + Gemini pipeline. This parameter will be accepted but ignored for backwards compatibility.
"true"
Task type: "memory" (default) for full context layer with SuperRAG built in, "superrag" for managed RAG as a service.
memory, superrag "memory"