Skip to content

Stop Run

Browserbase

Browserbase

Stop Run

Request that an in-progress Browserbase agent run stop. The run transitions to STOPPED. Poll get_agent_run to confirm it wound down.

ActionAI Tool

Inputs

Name Type Required Description
run_idtextRequiredThe run ID to stop.

Outputs

Name Type Description
statusCodenumberHTTP status code (202 when stop is requested)
bodyobjectAgent run after stop request. Poll until status is STOPPED.
runIdtextUnique identifier for the run
agentIdtextThe ID of the agent applied to this run, if any
tasktextThe original task description
statustextCurrent status after stop request
sessionIdtextThe Browserbase session ID powering this run
sandboxIdtextExternal sandbox identifier assigned by the runner
resultSchemaobjectPer-run JSON Schema override for the result shape
resultobjectStructured result if available
summarytextNatural-language summary of the completed task
stepsTakennumberNumber of agent steps taken
taskDurationnumberTask duration in milliseconds
causeobjectFailure details when applicable
codetextStructured failure code
messagetextHuman-readable failure detail
startedAttextRun start timestamp (ISO 8601)
endedAttextRun end timestamp (ISO 8601)
createdAttextCreation timestamp (ISO 8601)
updatedAttextLast update timestamp (ISO 8601)