Skip to main content
GET
Get thread
Read the thread before sending a decision. The page-level errors array carries structured AI/runtime failure codes; an empty array does not prove the AI succeeded. Continue with the returned cursor; once caught up, set wait to wait for new messages, actions, requests, or errors. If delivery is unknown, do not start a new thread or repeat an effect to resolve it.

Authorizations

Authorization
string
header
required

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

Path Parameters

thread
string
required

The thread whose history and current state you want to read.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
Example:

"thread-id"

Query Parameters

agent
string

Optional agent whose authorized view of this thread you want to read.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
cursor
string

Return messages after this cursor. Omit it for the first page and use the returned cursor thereafter.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
wait
boolean

When true, wait briefly for new messages after the cursor.

Example:

false

limit
integer

Maximum events to return in one page.

Required range: 1 <= x <= 100
Example:

50

Response

Authorized state. Pending auth or checkout is not completion.

thread
string
required
Required string length: 1 - 200
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.:-]*$
messages
object[]
required
Maximum array length: 100
actions
object[]
required
requests
object[]
required
cursor
string
required
Required string length: 3 - 200
Pattern: ^.+:(0|[1-9][0-9]*)$
hasMore
boolean
required
archived
boolean
required
needsAttention
boolean
required
errors
object[]

Error events in this page. Retryable does not authorize replaying an accepted effect or payment.

Maximum array length: 100
Last modified on October 4, 2026