Stream a run's frames
Sends the agent’s output as server-sent events as it is produced: a frame event per line, its data the line as JSON, and a heartbeat event every 30 seconds to keep the connection open. Closes once the run has ended and every line was sent. The connection may also close earlier; to pick up where it stopped, call again with the seq of the last line received as after, or let an SSE client reconnect: the Last-Event-ID header it sends is used when after is absent.
Authorizations
An API key of your organization, starting with trk_, sent as Authorization: Bearer <key>.
Path Parameters
Unique identifier of the run.
Query Parameters
Send only lines whose seq is greater than this.
^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$