Skip to content

Get Agent Run

Browserbase

Browserbase

Get Agent Run

Retrieve the current status and details of a Browserbase agent run, including its result and session information. Poll until status is COMPLETED, FAILED, STOPPED, or TIMED_OUT.

ActionAI Tool

Inputs

Name Type Required Description
run_idtextRequiredThe run ID returned by run_agent.

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectAgent run state. Check body.status and read body.result when COMPLETED.
runIdtextUnique identifier for the run
agentIdtextThe ID of the agent applied to this run, if any
tasktextThe original task description
statustextCurrent status: PENDING, RUNNING, COMPLETED, FAILED, STOPPED, or TIMED_OUT
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 when the run has finished
summarytextNatural-language summary of the completed task
stepsTakennumberNumber of agent steps taken
taskDurationnumberTask duration in milliseconds
causeobjectFailure details when status is FAILED
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)