List browser sessions
Changed onList all browser sessions with pagination support. Use status parameter to filter by session state.
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/browsers
- AuthHTTP bearer
Query parameters
Filter sessions by status. "active" returns only active sessions (default), "deleted" returns only soft-deleted sessions, "all" returns both.
Deprecated: Use status=all instead. When true, includes soft-deleted browser sessions in the results alongside active sessions.
Maximum number of results to return. Defaults to 20, maximum 100.
Number of results to skip. Defaults to 0.
Search browsers by name, session ID, profile name or ID, proxy ID, or pool name.
Filter sessions by tag key-value pairs using deepObject style, e.g. ?tags[team]=backend&tags[env]=staging. Multiple pairs are ANDed: a session must match every supplied pair exactly.
Geographic region for hosting browser sessions or pools.
Filter sessions by geographic region. Omit to list sessions in all regions.
Response
List of browsers
Example response
[
{
"base_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/kernel",
"browser_live_view_url": "https://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/live?jwt=eyJ0eXAi...",
"cdp_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/cdp?jwt=eyJ0eXAi...",
"location": {
"locale": "en-US",
"timezone": "America/Los_Angeles"
},
"memory": "8GiB",
"name": "checkout-flow-1",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"session_id": "htzv5orfit78e1m2biiifpbv",
"start_url": "https://example.com",
"tags": {
"env": "staging",
"team": "backend"
},
"video_memory": "2GiB",
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
},
"webdriver_ws_url": "wss://proxy.yul-upbeat-herschel.onkernel.com:8443/browser/webdriver/session?jwt=eyJ0eXAi..."
}
]Changes
- info
added the optional property
/to the response with the status
- info
- warning
added the new
defaultenum value to the//response property for the response status - warning
added the new
defaultenum value to the//response property for the response status - info
removed the
metroenum value from the//response property for the response status - info
removed the
metroenum value from the//response property for the response status
- warning