List Thread events
Returns the latest public event log entries for this Thread in chronological order.
/threads/{threadId}/eventsReturns the latest public event log entries for this Thread in chronological order. If older public entries are omitted because the limit was reached, truncated is true. Event IDs are stable, so callers can retry or poll without treating the same ID as a new event. This is the stable snapshot read surface for CLI and API consumers; it does not expose raw runtime payloads, transcript, or diagnostics.
Authorization
publicApiBearer Use Authorization: Bearer mst_... . API tokens identify an account and do not carry scopes.
In: header
Path Parameters
Thread ID returned by create thread. v1 IDs are bare ULIDs.
^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$ulidQuery Parameters
Maximum number of latest Thread events to return.
1 <= value <= 1000100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/threads/01J00000000000000000000009/events?limit=100"{ "events": [ { "content": "string", "durationMs": 0, "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "occurredAt": "2019-08-24T14:15:22Z", "runId": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": "available", "tokens": 0, "type": "agent.message.delta" } ], "truncated": true}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}Send user messages, permission decisions, or interrupts to a Thread
Applies a batch of events to the Thread: send user messages, answer pending permission requests, or interrupt the current Run.
Stream Thread events
Streams public Thread event log entries as Server-Sent Events. Each `thread.event` data payload uses the same ThreadEventLogEntry shape as GET /threads/{thre…