Skip to main content
GET
Stream Run
The stream endpoint uses Server-Sent Events (SSE) to deliver incremental run output. Connect to this endpoint while a run is running to receive output as it is generated.

Code Examples

Headers

Authorization: Pass your API key as a Bearer token in the Authorization header: Authorization: Bearer YOUR_API_KEY.
integer
required
ID of the workspace. Required for all Digital Employees API requests.

Path Parameters

integer
required
The ID of the digital employee.
integer
required
The ID of the run to stream.

SSE Events

delta Event Shape

complete Event Shape

Connect to this endpoint only while the run status is running. If the run has already finished, use Get Run Output instead.