Skip to main content
GET
/
api
/
v1
/
memories
{
  "memories": [
    {
      "memory_id": "<string>",
      "user_id": "<string>",
      "memory": "<string>",
      "topics": [
        "<string>"
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  ],
  "total_count": 123,
  "next_cursor": "<string>",
  "has_more": false
}

Authorizations

Authorization
string
header
required

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

Headers

X-Workspace-Id
string | null

The workspace ID

Query Parameters

user_id
string | null

User ID to filter memories

cursor
string | null

Cursor for pagination (use next_cursor from previous response)

limit
integer | null
default:50

Number of memories to return per page

Required range: 1 <= x <= 100
sort_by
string | null
default:updated_at

Field to sort memories by (e.g., 'memory_id', 'updated_at')

sort_order
enum<string> | null
default:desc

Sort order (asc or desc)

Available options:
asc,
desc

Response

Successful Response

Schema for listing memories with cursor-based pagination.

memories
MemoryResponse · object[]
required

List of memories.

total_count
integer
required

Total number of memories returned in this request.

next_cursor
string | null

Cursor for fetching the next page. None if no more pages.

has_more
boolean
default:false

Whether there are more memories to fetch.