Memories
Update a memory (creates new version)
Update a memory by creating a new version. The original memory is preserved with isLatest=false.
patch/v4/memories
Request body
Example request
{
"id": "mem_abc123",
"content": "John prefers dark mode",
"containerTag": "user_123",
"newContent": "John now prefers light mode"
}Response
Memory updated successfully
Example response
{
"id": "mem_xyz789",
"memory": "John now prefers light mode",
"version": 2,
"parentMemoryId": "mem_abc123",
"rootMemoryId": "mem_abc123"
}