Request Parameters
Required Parameters
The content to process into memories. Can be:URL Examples:
- Plain text content
- URL to process
- HTML content
- Markdown text
Optional Parameters
Recommended. Single tag to group related memories. Improves search performance.Default:
"sm_project_default"
Use
containerTag
(singular) for better performance than containerTags
(array).Additional metadata as key-value pairs. Values must be strings, numbers, or booleans.Restrictions:
- No nested objects
- No arrays as values
- Keys must be strings
- Values: string, number, or boolean only
Your own identifier for the document. Enables deduplication and updates.Maximum length: 255 charactersUse cases:
- Prevent duplicate uploads
- Update existing documents
- Sync with external systems
Raw content to store alongside processed content. Useful for preserving original formatting.
File Upload Parameters
ForPOST /v3/documents/file
endpoint:
The file to upload. Supported formats:
- Documents: PDF, DOC, DOCX, TXT, MD
- Images: JPG, PNG, GIF, WebP
- Videos: MP4, WebM, AVI
Container tag for the uploaded file (sent as form field).