GET /v1/routines/runs/{run_id}/events
Server-sent events for the run: lifecycle events, `step.*` events as steps start, retry, wait and finish, and `run.log` from `core/log` steps. Ends after the terminal event; reconnect with `Last-Event-ID` to resume (events are kept with the run history).

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

run_id string required path
The run ID (`run_…`).
Example: "run_01m5t5fr06dx6azc42f4wbzf5s"

Header Parameters

Last-Event-ID string optional header
Resume an event stream after this event `id` (the `seq` of the last event you processed).

Responses

200 The event stream.
text/event-stream
string
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such run in this project (`run_not_found`).
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/routines/runs/run_01m5t5fr06dx6azc42f4wbzf5s/events' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/routines/runs/run_01m5t5fr06dx6azc42f4wbzf5s/events', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/routines/runs/run_01m5t5fr06dx6azc42f4wbzf5s/events', headers=headers)print(response.json())
200 Response
"id: 5\nevent: step.waiting\ndata: {\"type\":\"step.waiting\",\"ts\":\"2026-10-25T20:00:00.010Z\",\"job_id\":\"run_01m5t40dnvfxq40j1zrjj42gpg\",\"seq\":5,\"step\":{\"id\":\"approve\",\"status\":\"waiting\",\"attempt\":1}}\n\n"
Ask a question... ⌘I