Stream Execution Events
Stream execution progress via Server-Sent Events.
Reactive endpoint - events pushed as they occur, no polling. Recommended for frontend dashboards and real-time monitoring.
Event types:
- initiated: Message processing started
- processing: Message being processed by adapter
- completed: Message processing completed
- failed: Message processing failed
The stream ends when:
- Execution completes (status: completed/failed/cancelled)
- Timeout reached (default 5 minutes)
- Client disconnects
Args: execution_id: Execution UUID to stream events for service: Execution service (injected) streamer: Event streamer (injected) timeout: Maximum stream duration in seconds
Returns: EventSourceResponse with SSE stream
Raises: HTTPException: 404 if execution not found, 503 if streamer unavailable
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Stream timeout in seconds
Stream timeout in seconds
Responses
Section titled “ Responses ”Successful Response
Resource not found
Standard error response matching FastAPI HTTPException format.
This model is used in OpenAPI response declarations for 4xx/5xx errors.
The detail field matches FastAPI’s HTTPException structure.
Validation Error
object
object
object
Event streamer not available
Standard error response matching FastAPI HTTPException format.
This model is used in OpenAPI response declarations for 4xx/5xx errors.
The detail field matches FastAPI’s HTTPException structure.