memories
Update a memory
Update a memory with new data.
patch/memories/{memory_id}
Request
- Base URLhttps://api.memara.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
memory_idstring required
The ID of the memory to update
Query parameters
space_idstring nullable
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.