Skip to main content
GET
Python

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<uuid>
required

The unique identifier of the memory to retrieve.

Response

Successfully retrieved the memory.

id
string<uuid>

Unique identifier for the memory.

memory
string

The content of the memory

user_id
string | null

Identifier of the user associated with this memory

agent_id
string | null

The identifier of the agent associated with this memory, if any.

app_id
string | null

The identifier of the app associated with this memory, if any.

session_id
string | null

The run identifier associated with this memory, returned as session_id.

metadata
object | null

Additional metadata associated with the memory

categories
string[] | null
created_at
string<date-time>

Timestamp of when the memory was created.

updated_at
string<date-time>

Timestamp of when the memory was last updated.

expiration_date
string<date> | null

The date when the memory will expire. Format: YYYY-MM-DD.

structured_attributes
object | null

System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).

replaced_by
string | null

ID of the memory that superseded this one, if any.

synthesized
boolean

Whether this memory was synthesized rather than directly extracted.

lifecycle_state
string

Lifecycle state of the memory.