Workflows

Resume Workflow Run Stream

Resume an SSE stream for a workflow run after disconnection.

Sends missed events since last_event_index, then continues streaming live events if the run is still active.

Three reconnection paths:

  1. Run still active: Sends catch-up events + continues live streaming
  2. Run completed (in buffer): Replays missed buffered events
  3. Run completed (in database): Replays events from database

Client usage: Track event_index from each SSE event. On reconnection, pass the last received event_index as last_event_index.

post/workflows/{workflow_id}/runs/{run_id}/resume

Request

Path parameters

workflow_idstring required
run_idstring required

Request body application/x-www-form-urlencoded

last_event_indexinteger nullable

Index of last event received by client (0-based)

session_idstring nullable

Session ID for database fallback

Response

SSE stream of catch-up and/or live events

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.