Skip to main content
GET
Error

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 chats.

Cursor-paginated chat list. last_id is the next request's after_id when has_more is true.

data
object[]
required
has_more
boolean
required

True when more rows exist past this page.

first_id
string

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

last_id
string

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