v4
latestOpenAPI 3.1.02026-08-01420618.8 KBAdd document
Add a document with any content type (text, url, file, etc.) and metadata
Request body
The content to extract and process into a document. This can be a URL to a website, a PDF, an image, or a video.
Optional tag this document should be containerized by. Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
Optional entity context for this container tag. Max 1500 characters. Used during document processing to guide memory extraction.
Optional custom ID of the document. Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
Optional metadata for the document.
Task type: "memory" (default) for full context layer with SuperRAG built in, "superrag" for managed RAG as a service.
Optional file path for the document. Used by supermemoryfs to store the full path of the file.
Optional metadata filter to apply when pulling related memories and profile during ingestion. Only memories matching these filters will be used as context.
Processing mode. "dynamic" (default) groups related documents together so memories form from coherent, logical units rather than one isolated entry at a time. "instant" processes each document on its own right away, and bills one extra operation per document.
Response
Document added successfully
Unique identifier of the document
Status of the document