Update browser session
Update a browser session.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Browser session ID or name
Body
Request body for updating a browser session.
If true, stealth browsers connect directly instead of using the default stealth proxy. Deprecated in favor of proxy.mode.
Human-readable name for the browser session. Omit to leave unchanged, set to an empty string to clear the name. When set, must be unique among active sessions within the project.
1 - 255^[a-zA-Z0-9._-]{1,255}$"checkout-flow-1"
Profile to load into the browser session. Only allowed if the session does not already have a profile loaded.
- Option 1
- Option 2
Proxy configuration to apply. Omit to leave the current configuration unchanged. Cannot be combined with proxy_id or disable_default_proxy. Set mode to direct to switch to direct egress regardless of stealth. Set mode to default to restore the browser default after using a selected proxy: Kernel's default stealth proxy for a stealth browser, or direct egress for a non-stealth browser. Updating proxy does not change stealth or CAPTCHA solver behavior.
- Option 1
- Option 2
- Option 3
ID of the proxy to use. Omit to leave unchanged, set to empty string to remove proxy. Deprecated in favor of proxy.
User-defined key-value tags for the browser session. Omit to leave unchanged. Provide a map to replace the entire tag set (full replace, not a merge). Set to an empty object ({}) to clear all tags. Up to 50 pairs.
Telemetry configuration. Omit, set to null, or set to an empty object ({}) to leave the existing configuration unchanged. Set enabled to true to enable capture using VM defaults. Set enabled to false to stop capture. Provide browser category settings for per-category updates. Explicitly disabling all four categories also stops capture.
Viewport configuration to apply to the browser session.
Response
Browser session updated 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).