Memory APIs
Memory History
Retrieve the history of a memory.
GET
/
v1
/
memories
/
{memory_id}
/
history
/
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
requiredUnique identifier for the history entry
memory_id
string
requiredUnique identifier of the associated memory
input
object[]
requiredThe conversation input that led to this memory change
old_memory
string | null
The previous state of the memory, if applicable
new_memory
string
requiredThe new or updated state of the memory
user_id
string
requiredThe identifier of the user associated with this memory
event
enum<string>
requiredThe type of event that occurred
Available options:
ADD
, UPDATE
, DELETE
metadata
object | null
Additional metadata associated with the memory change
created_at
string
requiredThe timestamp when this history entry was created
updated_at
string
requiredThe timestamp when this history entry was last updated