GET /v1/chats
List customer-visible chats for your project.
Returns chats in descending created_at order, newest chats first.
Pagination is intentionally based on created_at so list traversal stays stable even while a chat continues receiving new messages.
Request
string
required
Bearer token. See Authentication.
integer
Number of chats to return. Default
20, max 100.string
Cursor for pagination. Pass the
id of the last chat from the previous page.GET /v1/chats/:id
Retrieve a single customer-visible chat with metadata and visible message count.
Request
string
required
Bearer token. See Authentication.
string
required
Chat ID (UUID).
message_count counts visible messages only.
Returns 404 if the chat doesn’t exist, doesn’t belong to your project, or is excluded from the public chats API.
Chat object
string
Chat ID (UUID).
string
"chat"string | null
Chat title, or
null if the thread has not been titled.string | null
Where the chat originated. Example values include
"web", "analyst", and "mcp". Internal-only sources like "eval" and "releases" are never returned by this API.boolean | null
Whether the chat is currently streaming a response.
integer
Number of visible messages in the chat. Only returned by
GET /v1/chats/:id. To fetch the actual messages, see GET /v1/chats/:id/messages.string
ISO 8601 timestamp for when the chat was created.
string
ISO 8601 timestamp for the most recent update to the chat.