Stop a Run
Request that an in-progress run stop. The run winds down and transitions to STOPPED. Stopping a run that has already finished returns a conflict.
Errors
202 response acknowledges the stop request. Retrieve the run to check its final status. See API errors for shared status meanings.Authorizations
Your Browserbase API Key.
Response
The stop has been requested. Poll the run until its status is STOPPED to confirm it wound down.
One execution of an agent against a task. Created in pending and transitioned through running → completed/failed by the runner.
Current status of the run.
PENDING- agent will run soonRUNNING- agent is currently runningCOMPLETED- agent has finished runningFAILED- agent has failed the runSTOPPED- run was stopped by the userTIMED_OUT- run exceeded maximum timePAUSED- run is paused awaiting input from the caller; the agent's request is the trailingpausetool call in the run's messages
PENDING, RUNNING, COMPLETED, FAILED, STOPPED, TIMED_OUT, PAUSED Per-run JSON Schema override for the result shape. When unset, the agent's default resultSchema applies.
The agent's structured result for the run. Only present when the run has finished and output is available. The result conforms to the provided JSON Schema when one is set.