Update Memory
Update the content, metadata, timestamp, or expiration date of a single memory by its unique ID using the PUT endpoint.
expiration_date to a YYYY-MM-DD date. To make it permanent again, send expiration_date: null.
expirationDate.Authorizations
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Path Parameters
The unique identifier of the memory to update.
Body
Response
Successfully updated memory.
The unique identifier of the updated memory.
The updated content of the memory.
Identifier of the user associated with this memory
The identifier of the agent associated with this memory, if any.
The identifier of the app associated with this memory, if any.
The run identifier associated with this memory, returned as session_id.
Additional metadata associated with the memory
Timestamp of when the memory was created.
Timestamp of when the memory was last updated.
The date when the memory will expire. Format: YYYY-MM-DD.
System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
ID of the memory that superseded this one, if any.
Whether this memory was synthesized rather than directly extracted.
Lifecycle state of the memory.