Skip to main content
GET
/
v1
/
memories
Error
A valid request URL is required to generate request examples
{
  "data": [
    {
      "memory_id": "<string>",
      "scope": "<string>",
      "content": "<string>",
      "category": "<string>",
      "importance": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "modified_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>"
}

Authorizations

X-API-Key
string
header
required

Personal Access Token, sent verbatim as pat_<32 chars>. PATs are minted from the Chief settings UI.

Headers

X-Project-Id
string
required

Project identifier scoping the request. Required on every project-scoped public endpoint. Missing or malformed values respond with HTTP 400 and code publicapi.tenancy.project.missing.

Pattern: ^project_[a-z0-9]{20}$

Query Parameters

after_id
string

Plain resource id from the previous response's last_id. Returns rows strictly past that id in the resource's natural sort order. Omit on the first request. Mutually exclusive with before_id.

before_id
string

Plain resource id to paginate backward from. Mutually exclusive with after_id.

limit
integer
default:25

Maximum number of items to return in this page.

Required range: 1 <= x <= 100

Response

Paginated list of memories visible to the caller.

A cursor page of memories visible to the caller. The envelope matches the chats/assets list shape; page with after_id/before_id.

data
object[]
required
has_more
boolean
required

True when more memories exist past this page.

first_id
string

Id of the first memory in this page; omitted when empty.

last_id
string

Id of the last memory in this page; omitted when empty.