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.
Parameters
The memory ID to update.
Updated memory content. Behavior depends on
merge_strategy.How the update should be applied. Defaults to
smart-merge.| Value | Description |
|---|---|
replace | Fully replace the existing memory content with the new content. |
append | Append the new content to the existing memory, preserving the original. |
smart-merge | Intelligently merge new information with existing content, deduplicating and resolving conflicts by preferring the newer version. |
Optional new document type to associate with the memory.
Optional updated metadata. Merged with existing metadata.
Returns
The updatedMemory object — same shape as the response from memories.get.
Example
Raises
SynapAuthError— when the API key is missing or invalid.SynapNotFoundError— when thememory_iddoes not exist or is outside the caller’s scope.SynapValidationError— whenmerge_strategyordocument_typeis not a recognized value.