Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required
Minimum string length: 1
Example:

"agent_abc123"

threadId
string
required
Minimum string length: 1
Example:

"thread_abc123"

Query Parameters

cursor
string

Cursor returned by a previous thread messages response.

Pattern: ^\d+$
Example:

"42"

fleetId
string

Optional fleet id for index-backed authorization.

limit
string

Maximum number of messages to include, capped at 500.

Pattern: ^\d+$
Example:

"100"

Response

Thread messages page.

cursor
string | null
required
hasMore
boolean
required
messages
object[]
required