Runtimes
A Runtime is the durable resource that performs automation. It represents the thing being automated: a browser today, with computers and spreadsheets as other runtime types in the same model.
A Runtime belongs to a Space and owns its configuration and identity. Tools, Agents, and browser connections all operate through a Runtime.
The API currently exposes one runtime type:
The Runtime response exposes its generated identifier as id (RuntimeId).
When another resource or request refers to the Runtime, the field is named
runtimeId. Treat the ID as opaque; create it through the API rather than
constructing one yourself.
Starting a Runtime opens a Run and returns its runId.
Choose the Runtime lifecycle
The profile option determines whether the browser identity persists:
Use an ephemeral Runtime for isolated jobs. Use a profile-backed Runtime when cookies, logins, or local storage should survive a stop and restart.
Create an ephemeral Runtime
Ephemeral Runtimes start during creation unless you pass start: false. Their
response includes the active Run and run-scoped connection URLs.
If you do not need a label, the minimal request is valid too:
Create a profile-backed Runtime
Profile-backed Runtimes are reusable and start stopped by default. Pass
start: true when you want a one-call create-and-start flow.
Runtime ID and Run ID
Use the Runtime object’s id when operating on the Runtime. Use the Run’s
runId when inspecting one execution:
Runtime lifecycle
The Runtime owns the lifecycle; each start opens a Run:
Runtime status is active, stopped, or failed. Read the associated Run to
understand what happened during an active or completed session.
Configure the browser
Runtime creation has two kinds of options:
- Lifecycle options decide where the Runtime belongs, whether its browser identity persists, and when it starts.
- Browser configuration decides how the browser behaves once it starts.
Creation parameters
Browser configuration parameters
Pass browser-specific settings in config:
Network traffic parameters
Full BrowserRuntimeCreateConfig shape
Profile-backed Runtimes retain browser identity. Keep their configuration focused on settings that should apply to every start:
Use the Stealth browsing cookbook, Load browser extensions cookbook, and Trim network traffic cookbook for complete recipes. This page is the option map; the cookbooks show the combinations.
Next
- Runs — understand the session opened by a Runtime
- Connect with CDP — attach Playwright or Puppeteer
- Connect with WebDriver — attach Selenium

