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_id | text | Required | The run ID to stop. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code (202 when stop is requested) |
body | object | Agent run after stop request. Poll until status is STOPPED. |
runId | text | Unique identifier for the run |
agentId | text | The ID of the agent applied to this run, if any |
task | text | The original task description |
status | text | Current status after stop request |
sessionId | text | The Browserbase session ID powering this run |
sandboxId | text | External sandbox identifier assigned by the runner |
resultSchema | object | Per-run JSON Schema override for the result shape |
result | object | Structured result if available |
summary | text | Natural-language summary of the completed task |
stepsTaken | number | Number of agent steps taken |
taskDuration | number | Task duration in milliseconds |
cause | object | Failure details when applicable |
code | text | Structured failure code |
message | text | Human-readable failure detail |
startedAt | text | Run start timestamp (ISO 8601) |
endedAt | text | Run end timestamp (ISO 8601) |
createdAt | text | Creation timestamp (ISO 8601) |
updatedAt | text | Last update timestamp (ISO 8601) |