Skip to main content
GET
Listen to Workflow Execution (SSE)
Streams real-time execution updates via Server-Sent Events (SSE) as the workflow runs.

Usage

How It Works

  1. On connection, all existing node executions are sent immediately
  2. Then the stream subscribes to real-time updates via Redis PubSub
  3. Each event contains a workflow_request and/or node_execution update
  4. Keepalive messages (data: keepalive) are sent every 3 seconds
  5. The stream closes when the workflow completes, fails, or stops

Response Format

Standard SSE format — each event is a data: line followed by two newlines:
Each event payload contains:

Status Values

Workflow Request:
  • pending — Request received, waiting to start
  • in_progress — Currently executing
  • waiting — Paused, waiting for input (e.g., tool approval)
  • completed — Finished successfully
  • failed — Execution failed
  • stopped — Manually stopped
Node Execution:
  • pending — Queued
  • in_progress — Currently executing
  • completed — Finished successfully
  • failed — Execution failed
  • blocked — Waiting for dependencies
  • skipped — Skipped (conditional branch not taken)
  • stopped — Manually stopped
  • waiting — Paused, waiting for input

Notes

Authentication required: Include Bearer token in Authorization header.
Connection timeout: SSE connections timeout after 30 minutes. Reconnect if needed.

Authorizations

Authorization
string
header
required

API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings

Path Parameters

id
string<uuid>
required

Workflow request ID

Response

200 - text/event-stream

SSE stream of execution events. Each event contains a workflow_request and/or node_execution update. Keepalive messages sent every 3 seconds. Connection times out after 30 minutes.

workflow_request
object

Represents a workflow execution request

node_execution
object

Represents the execution state of a single node