memories

GET /v1/memories/{memory_id}/

Changed on

Get a memory.

Request

  • Base URL
    https://api.mem0.ai
  • URL
    https://api.mem0.ai/v1/memories/{memory_id}/
  • Auth
    API key in header Authorization

Path parameters

memory_idstring uuid required

The unique identifier of the memory to retrieve.

Response

Successfully retrieved the memory.

idstring uuid

Unique identifier for the memory.

memorystring

The content of the memory

user_idstring nullable

Identifier of the user associated with this memory

agent_idstring nullable

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

app_idstring nullable

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

session_idstring nullable

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

metadataobject nullable

Additional metadata associated with the memory

categoriesstring[] nullable
created_atstring date-time

Timestamp of when the memory was created.

updated_atstring date-time

Timestamp of when the memory was last updated.

expiration_datestring date nullable

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

structured_attributesobject nullable

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

replaced_bystring nullable

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

synthesizedboolean

Whether this memory was synthesized rather than directly extracted.

lifecycle_statestring

Lifecycle state of the memory.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status