Task events
Stream a task’s steps as Server-Sent Events, then a terminal done frame. Loads the task org-scoped
and checks its Space, then emits event: step (data = the step payload) for each step with seq > after_seq in order, and event: done (data = the terminal Task) once the task finishes. Poll-based
(no long-held DB connection); a never-terminal task is closed after [SSE_MAX_SECS] and the client
reconnects with ?after_seq=<last seq>.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Task id (task_<uuid>)
Query Parameters
Replay cursor: emit only steps with seq strictly greater than this. A non-integer is a 400
invalid_cursor. Omitted = from the beginning of the stream.
Response
SSE stream of step events then a terminal done event