Leap0

Status stream (SSE)

Subscribe to a live Server-Sent Events stream of process status. Events are sent immediately on connect, on status changes, and every 2 seconds as a heartbeat. Each SSE message is a framed `data:` line containing a JSON-encoded `ProcessStatusResponse`. Error events use `event: error` with a plain-text `data:` payload.

GET/api/status/stream

Subscribe to a live Server-Sent Events stream of process status. Events are sent immediately on connect, on status changes, and every 2 seconds as a heartbeat. Each SSE message is a framed data: line containing a JSON-encoded ProcessStatusResponse. Error events use event: error with a plain-text data: payload.

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as a Bearer token.

In: header

Response Body

text/event-stream

curl -X GET "https://<sandbox_id>.sandbox.leap0.dev/api/status/stream"
"string"