memories

GET /v1/memories/

Changed on

Get all memories.

Request

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

Query parameters

user_idstring

Filter memories by user ID.

agent_idstring

Filter memories by agent ID.

app_idstring

Filter memories by app ID.

run_idstring

Filter memories by run ID.

metadataobject

Filter memories by metadata (JSON string).

categoriesstring[]

Filter memories by categories.

org_idstring

Filter memories by organization ID.

project_idstring

Filter memories by project ID.

fieldsstring[]

Filter memories by fields.

keywordsstring

Filter memories by keywords.

pageinteger

Page number for pagination. Default: 1.

page_sizeinteger

Number of items per page. Default: 100.

limitinteger

Maximum number of memories to return. Maximum accepted value: 200. Ignored when both page and page_size are supplied.

start_datestring

Filter memories by start date.

end_datestring

Filter memories by end date.

Response

Successfully retrieved memories.

OR

Changes

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • breaking

      the response's body type changed from array to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • info

      endpoint deprecated

    • info

      added the new optional query request parameter limit

    • info

      added the non-success response with the status