Memory APIs
Update Memory
Get or Update or delete a memory.
PUT
/
v1
/
memories
/
{memory_id}
/
Authorizations
Authorization
string
headerrequiredAPI key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Path Parameters
memory_id
string
requiredThe unique identifier of the memory to retrieve
Response
200 - application/json
id
string
The unique identifier of the updated memory
text
string
The updated text content of the memory
user_id
string | null
The user ID associated with the memory, if any
agent_id
string | null
The agent ID associated with the memory, if any
app_id
string | null
The app ID associated with the memory, if any
run_id
string | null
The run ID associated with the memory, if any
hash
string
Hash of the memory content
metadata
object
Additional metadata associated with the memory
created_at
string
Timestamp of when the memory was created
updated_at
string
Timestamp of when the memory was last updated