Skip to main content

Goal

Receive progress and result events over a single streaming HTTP response.

When to Use

Use SSE when your UI or client needs near real-time updates without webhook infrastructure.

Request Requirement

Send:

Live Monitor Example

Common event names:
  • started
  • progress
  • triggered (non-terminal trigger event when max_triggers > 1 or null)
  • stopped
  • error

Live Digest Example

Common event names:
  • started
  • progress
  • summary
  • stopped
  • error

Client Handling Rules

  • Parse by event name, not by message text.
  • Handle reconnects in your application if UX requires continuity.
  • Treat triggered as non-terminal.
  • Treat stopped and error as terminal stream events.
  • Store job_id from start event when provided.

Fallback

If streaming is interrupted or unsupported, use polling via GET /jobs/{job_id}.

Next Steps