GET
/
v1
/
memories
/
{memory_id}
/
history

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Path Parameters

memory_id
string
required

The unique identifier of the memory to retrieve

Response

200 - application/json
created_at
string
required

The timestamp when this history entry was created

event
enum<string>
required

The type of event that occurred

Available options:
ADD,
UPDATE,
DELETE
id
string
required

Unique identifier for the history entry

input
object[]
required

The conversation input that led to this memory change

memory_id
string
required

Unique identifier of the associated memory

new_memory
string
required

The new or updated state of the memory

updated_at
string
required

The timestamp when this history entry was last updated

user_id
string
required

The identifier of the user associated with this memory

metadata
object | null

Additional metadata associated with the memory change

old_memory
string | null

The previous state of the memory, if applicable