Skip to main content
GET
Stream a run's progress (SSE)
Streams a batch run’s progress as Server-Sent Events. It is a convenience over polling GET /v1/runs/{run_id}.
  • It sends a status frame on every state or progress change.
  • Then one terminal final frame carries the complete run body.
The poll endpoint remains the source of truth. If the stream drops, fall back to polling. Do not treat a dropped connection as a failed run.
What the frames carry:
  • A status frame has status and progress only.
  • progress is {done, total}, counted in locations.
  • On a status frame, status is queued or running.
  • On the final frame, status is done or failed.
  • Only the final frame carries result. There are no partial results.
Use it when a screen is long enough that a human wants a progress bar. For the artifact once the run finishes, see run artifacts.

Path Parameters

run_id
string
required

Response

Successful Response