application/x-ndjson. Each line is one JSON event; a network chunk can contain part of a line or several lines, so keep an input buffer when decoding.
Start execution
dry, optional threadId, nullable coordinator and up to 16 connector decisions. Draft execution also requires flow.
Run events
Check the HTTP status before reading the stream. Once streaming has started, an
error event can describe a pause or failure inside a successful HTTP response. The terminal event determines the run outcome.
Continue or reconnect
For a pause, call the same run endpoint with the savedthreadId and new input or connector decisions. For display reconnection, read the saved thread or open /api/workflows/{id}/threads/{threadId}/watch.
The final execution contains output, step traces, itemized bills, compute/service-fee totals, transaction/payment identity and optional proof links. Payment fields explain their units.
Vibe events
Vibe emitsstatus, delta, patch, banner_start, workflow_ready, done and error. Apply patches to the current graph and use the included Flow on the ready/done events. See the Vibe endpoint for the complete patch union.