Skip to main content
POST
/
v2
/
memories
/
list
List_Memories
curl --request POST \
  --url https://api.memmachine.ai/docs/v2/memories/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page_size": 100,
  "page_num": 0,
  "filter": "",
  "type": "episodic"
}
'
{
  "content": {},
  "status": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specification model for listing memories.

page_size
integer
default:100
The maximum number of memories to return per page. Use this for pagination.
Examples:

50

100

page_num
integer
default:0
The zero-based page number to retrieve. Use this for pagination.
Examples:

0

1

5

10

filter
string
default:""
An optional string filter applied to the memory metadata. This uses a
simple query language (e.g., 'metadata.user_id=123') for exact matches.
Multiple conditions can be combined using AND operators. The metadata
fields are prefixed with 'metadata.' to distinguish them from other fields.
Example:

"metadata.user_id=123 AND metadata.session_id=abc"

type
enum<string>
default:episodic
The specific memory type to list (e.g., Episodic or Semantic).
Available options:
semantic,
episodic
Examples:

"Episodic"

"Semantic"

Response

Successful Response

Response model for memory search results.

content
Content · object
required
The dictionary containing the memory search results (e.g., list of memory
objects).
status
integer
default:0
The status code of the search operation. 0 typically indicates success.
Example:

0