Stream Thread events
API Reference
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//events. The stream is for long-running consumer UX and does not expose raw runtime payloads, internal diagnostics, or private transcripts.
GET
Stream Thread events
Authorizations
Use Authorization: Bearer grt_pat_... . API tokens identify an account and do not carry scopes.
Path Parameters
Thread ID returned by create thread. v1 IDs are bare ULIDs.
Pattern:
^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$Example:
"01J00000000000000000000009"
Query Parameters
Maximum number of latest Thread events to return.
Required range:
1 <= x <= 1000Response
Thread event stream.
The response is of type string.