v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
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

Path parameters

workflow_idstring required
run_idstring required

Response

SSE stream of catch-up and/or live events

{"stackTrail":"paths:/workflows/{workflow_id}/runs/{run_id}/resume:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}