Skip to main content
GET
Error

Authorizations

X-API-Key
string
header
required

Headers

customer
string
required

Workspace identifier

Query Parameters

visibility
string
limit
string
cursor
string

Opaque keyset cursor for chat history. Use 0 for the first page, then pass nextCursor while moreAvailable is true.

offset
string

Legacy offset pagination. New clients should use cursor so deep pages do not require scanning every preceding row.

configId
string
triggerType
string
projectId
string
branchId
string
archived
string

Pass true to list archived chats instead of active ones. Omitted, only active chats are returned.

sort
enum<string>

Ordering. 'updated' (default) walks the row's last write; 'lastUserMessage' walks when its owner last sent a message, which does not reshuffle while a run streams.

Available options:
updated,
lastUserMessage

Response

200 - application/json
items
object[]
required
moreAvailable
boolean
nextCursor
string
total
number