Authentication
All requests require an API key in theX-Browser-Use-API-Key header:
bu_.
Base URL
The core loop
Create a run, poll its status until terminal, then fetch the full result.status is a cheap indexed lookup — poll it, not the full run.
Create a run
Poll status until completed | failed | cancelled (replace RUN_ID)
Fetch the full run once it's terminal
Sessions and follow-ups
A run belongs to a session (a conversation). Send a follow-up message to a session’s queue — it runs as the next turn, or immediately withinterrupt: true:
Queue a follow-up (replace SESSION_ID)
SDKs
The Cloud SDK wraps this loop —runs.create() then runs.waitForCompletion() / runs.wait_for_completion() — for TypeScript and Python.