browser

Whether the sandbox's browser runs, and its CDP address with a fresh token.

get/v1/sandboxes/{id}/browser

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/sandboxes/{id}/browser
  • Auth: HTTP bearer

Path parameters

idstring required

Resource identifier (UUID).

Response

Success

runningboolean required
headlessboolean
versionstring

Chromium's version, e.g. "Chrome/154.0.8037.92".

cdpUrlstring

The browser's DevTools WebSocket, with its private preview token: give it to Playwright's connectOverCDP, puppeteer.connect({browserWSEndpoint}), browser-use or Stagehand as it is.

httpUrlstring

The DevTools HTTP endpoint (json/version and the rest); send headers with it.

headersobject
expiresAtstring nullable

When the token in cdpUrl ends; GET the browser again for a fresh one.

streamUrlstring

headless: false only: the desktop's live view.

memoryMiBinteger

browser:start only: the sandbox's memory, which is the browser's.

hintstring

browser:start only, under 2048 MiB: heavy apps such as Google Sheets, YouTube and StackBlitz need a 2 GiB sandbox; 1 GiB suits light pages.

Changes

No recorded changes to this operation across all 1 revision of this API.