Documentation Index
Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
Use this file to discover all available pages before exploring further.
ingestion_id you can poll via memories.status().
Parameters
The raw document content to ingest. This can be a conversation transcript, a knowledge base article, a support ticket, or any text content.
The type of document being ingested. This determines how the ingestion pipeline processes the content.
| Value | Description |
|---|---|
ai-chat-conversation | A conversation between a user and an AI assistant |
document | A generic document or report |
email | An email message or thread |
pdf | PDF document content (text extracted) |
image | Image descriptions or OCR text |
audio | Audio transcriptions |
meeting-transcript | Meeting transcription content |
human-chat-conversation | A conversation between two or more humans (coming soon) |
support-ticket | A customer support ticket or thread (coming soon) |
knowledge-article | A structured knowledge base article (coming soon) |
note | A freeform note or annotation (coming soon) |
An optional external identifier for deduplication. If a document with this ID has already been ingested, the request is rejected as a conflict.
Timestamp of when the document was originally created. Used for temporal ordering of memories. Defaults to the current time if not provided.
The external user ID this memory is about. Omit for customer- or client-scope ingestion.
The external customer ID this memory belongs to. Omit for client-scope ingestion. The effective scope is derived by the server from the IDs you pass and the instance’s user-context isolation (B2C/B2B).
The ingestion processing mode.
| Value | Description |
|---|---|
fast | Optimized for speed. Uses lighter extraction models. Best for high-volume, real-time ingestion. |
long-range | Optimized for quality. Runs the full extraction pipeline including deep entity resolution, relationship mapping, and graph storage. Best for conversations and important documents. |
Arbitrary key-value pairs to attach to the memory. Useful for filtering and organizing memories.
Returns
CreateMemoryResponse with the ingestion job identifiers and initial status.
Unique identifier for tracking this ingestion job. Pass this to
memories.status or memories.wait_for_completion.The document identifier (either the one you supplied or one generated by the server).
Initial status of the ingestion job. Always
queued for new submissions.Server timestamp at which the job was accepted into the queue.
Example
Ingestion is asynchronous. A successful return means the document has been accepted for processing, not that extraction is complete. Use
memories.status, memories.wait_for_completion, or webhooks to track progress.Raises
SynapAuthError— when the API key is missing or invalid.SynapValidationError— when required fields are missing ordocument_type/modeare not recognized.SynapConflictError— when a document with the samedocument_idhas already been ingested.