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.
file_path, file, or text must be provided.
Parameters
The user this memory is about.
The customer this memory belongs to.
Scope hint for the upload. One of
"b2c" (default) or "b2b".Path on disk to read and upload. Mutually exclusive with
file and text.An open binary file-like object. When using this, you must also pass
filename. Mutually exclusive with file_path and text.Name to use for the upload. Required when passing
file=.Raw text content to ingest instead of a file. Mutually exclusive with
file_path and file.Override the auto-detected document type (for example,
"pdf", "email", "meeting-transcript").Ingestion mode:
"fast" or "long-range" (default).Additional metadata to attach to the memory. Serialized to JSON before upload.
Returns
CreateMemoryResponse with the ingestion job identifiers and initial status.
Unique identifier for tracking this ingestion job.
The document identifier assigned to the upload.
Initial status of the ingestion job. Typically
queued.Timestamp at which the job was accepted into the queue.
Example
Raises
ValueError— when none offile_path,file, ortextis provided.SynapAuthError— when the API key is missing or invalid.SynapValidationError— when the upload payload is malformed.