v1
latestOpenAPI 3.1.02026-08-06209117239.7 KBmemories
Update a memory
Update a memory with new data.
patch/memories/{memory_id}
Path parameters
memory_idstring required
The ID of the memory to update
The ID of the memory to update
Query parameters
space_idstring nullable
Space ID if memory is in a specific space
Space ID if memory is in a specific space
Request body
Example request
{
"content": "Updated memory content",
"importance": 8,
"tags": [
"updated",
"important"
]
}Response
The updated memory
Example response
{
"category": "general",
"content": "Example memory content",
"created_at": "2023-04-01T14:30:45.123Z",
"created_by_user": "user123",
"id": "550e8400-e29b-41d4-a716-446655440000",
"importance": 5,
"is_chunk": false,
"source": "api",
"space_id": "space_12345678",
"space_name": "Work Projects",
"tags": [
"example",
"memory"
],
"updated_at": "2023-04-01T14:45:10.456Z"
}