Stream execution updates
Opens an SSE connection that emits named events:
output— one workflow stdout line (aFlowOutput).input— one persisted user response, echoed back so all viewers converge.done— the terminal execution record. Always the last event.
Reconnecting clients pass the standard Last-Event-ID header to resume from the message log; events with seq <= Last-Event-ID are suppressed. EventSource sets this header automatically from the id: field of the last received event.
BearerAuthAuthorizationBearer <JWT>Admin token, API token issued via /api-tokens, or an OIDC JWT access token issued by the configured OIDC provider.
flow*stringuuidexecution*stringuuidSSE stream of execution events.
text/event-stream- response
Payload of a output SSE event. Carries one workflow message as a FlowOutput, plus the per-execution sequence number seq.
type*stringDiscriminator. Known values: send, wait, stdout.
widget?Present for send and wait. Opaque widget shape; the workflow runtime owns the schema (see flow/src/api/widget-types.ts).
text?stringPresent for stdout. One raw line the workflow printed, verbatim. Protocol messages never appear here.
seq*integerPer-execution monotonic sequence number.
[key: string]?anycurl -X GET 'https://example.com/api/hub/flows/497f6eca-6276-4993-bfeb-53cbbbba6f08/executions/497f6eca-6276-4993-bfeb-53cbbbba6f08/stream'{ "type": "string", "widget": {}, "text": "string", "seq": 0}