Get thread
Read a thread, optionally waiting for new events.
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The thread whose history and current state you want to read.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$"thread-id"
Query Parameters
Optional agent whose authorized view of this thread you want to read.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$Return messages after this cursor. Omit it for the first page and use the returned cursor thereafter.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$When true, wait briefly for new messages after the cursor.
false
Maximum events to return in one page.
1 <= x <= 10050
Response
Authorized state. Pending auth or checkout is not completion.
1 - 200^[A-Za-z0-9][A-Za-z0-9_.:-]*$100- Option 1
- Option 2
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
3 - 200^.+:(0|[1-9][0-9]*)$Error events in this page. Retryable does not authorize replaying an accepted effect or payment.
100