Skip to main content
V4 exposes an ordered event stream for each run. Poll with after set to the previous response’s next_after / nextAfter so you only receive new events. Each event has id, ts, type, and data. Event types include run lifecycle updates, model calls, browser readiness, tool activity, artifacts, and completion.
The status endpoint is intentionally tiny and cheap to poll. Fetch the full run only after its status is terminal.

Cancel a run

Cancelling a run does not delete its session. You can send another turn with the same session ID.