Update a memory by creating a new version. The original memory is preserved with isLatest=false.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Container tag / space identifier. Required to scope the operation.
"user_123"
The new content that will replace the existing memory
1"John now prefers light mode"
ID of the memory entry to operate on
"mem_abc123"
Exact content match of the memory entry to operate on. Use this when you don't have the ID.
"John prefers dark mode"
Optional metadata. If not provided, inherits from the previous version.
Memory updated successfully
Response after updating a memory
ID of the newly created memory version
"mem_xyz789"
The content of the new memory version
"John now prefers light mode"
Version number of this memory entry
2
ID of the memory this version updates
"mem_abc123"
ID of the first memory in this version chain
"mem_abc123"
When this memory version was created