Acquire a browser from the pool
Long-polling endpoint to acquire a browser from the pool. Returns immediately when a browser is available, or returns 204 No Content when the poll times out. The client should retry the request to continue waiting for a browser. The acquired browser will use the pool’s timeout_seconds for its idle timeout.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Browser pool ID or name
Body
Request body for acquiring a browser from the pool.
Maximum number of seconds to wait for a browser to be available. Defaults to the calculated time it would take to fill the pool at the currently configured fill rate.
Optional human-readable name for the acquired browser session, used to find it later in the dashboard. Must be unique among active sessions within the pool's project. Applies to this lease only and is cleared when the browser is released back to the pool.
1 - 255^[a-zA-Z0-9._-]{1,255}$"checkout-flow-1"
Optional URL to navigate the acquired browser to. Overrides the pool's start_url for this acquire only. Best-effort: failures to navigate do not fail the acquire.
"https://example.com"
Optional user-defined key-value tags for the acquired browser session, used to find and group sessions later. Applies to this lease only and are cleared when the browser is released back to the pool. Up to 50 pairs.
Telemetry override for the acquired browser, applied to this lease only. Merges onto the browser's current (pool-inherited) telemetry using the same per-category semantics as PATCH /browsers: provided categories override the current configuration, omitted categories are inherited. Set enabled to true to resolve the config fresh from the default set, or enabled to false to stop capture. When the browser is released back to the pool with reuse, its telemetry is reset to the pool's baseline, so the override does not carry over to the next lease.
Response
Browser acquired successfully
Websocket URL for Chrome DevTools Protocol connections to the browser session
"wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/cdp?jwt=eyJ0eXAi..."
When the browser session was created.
Whether the browser session is running in headless mode.
false
Geographic region of the browser session. Fixed once the session is created.
us-east, eu-west Unique identifier for the browser session
"htzv5orfit78e1m2biiifpbv"
Whether the browser session is running in stealth mode.
false
The number of seconds of inactivity before the browser session is terminated.
Websocket URL for WebDriver BiDi connections to the browser session
"wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/webdriver/session?jwt=eyJ0eXAi..."
Metro-API HTTP base URL for this browser session.
"https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/kernel"
Remote URL for live viewing the browser session. Only available for non-headless browsers.
"https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/live?jwt=eyJ0eXAi..."
Custom Chrome enterprise policy overrides that were applied to this browser session, if any. Echoed back for verification. Keys are Chrome enterprise policy names.
When the browser session was soft-deleted. Only present for deleted sessions.
Whether GPU acceleration is enabled for the browser session (only supported for headful sessions).
false
Whether the browser session is running in kiosk mode.
false
Human-readable name of the browser session, if one was set at creation.
"checkout-flow-1"
Network configuration the session was created with, if any. Omitted when the session has no network configuration.
Browser pool this session was acquired from, if any.
Browser profile metadata.
Whether changes made during this browser session are saved back to its profile when the session ends. Omitted when no profile is attached.
Resolved proxy configuration for this browser session.
- Option 1
- Option 2
- Option 3
ID of the proxy associated with this browser session, if any. Deprecated in favor of proxy.
URL the session was asked to navigate to on creation, if any. Recorded for debugging. Navigation is fire-and-forget — the URL is dispatched to the browser without waiting for it to load, and any errors (DNS failure, bad status, timeout) are silently dropped. Captures what was requested, not what the browser actually loaded.
"https://example.com"
User-defined key-value tags that were set on this browser session, if any. Echoed back when present.
Active telemetry configuration for the session, if any.
Session usage metrics.
Initial browser window size in pixels with optional refresh rate. If omitted, image defaults apply (1920x1080@25). For GPU images, the default is 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted. Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For GPU images, recommended presets use one of these resolutions with refresh rates 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view or recording behavior. If refresh_rate is not provided, it will be automatically determined based on the resolution (higher resolutions use lower refresh rates to keep bandwidth reasonable).