/sessions API
info
Currently, Browserless V2 is available in production via two domains: production-sfo.browserless.io
and production-lon.browserless.io
info
This API is only available for dedicated and self-hosted accounts
The sessions API allows you to gather information about the currently running sessions and is only available for dedicated and self-hosted accounts
You can check the full Open API schema here.
Gathering information from your running sessions
To see information regarding the running sessions, simply issue a GET
request to /sessions
:
curl -X GET \
https://production-sfo.browserless.io/sessions?token=MY_API_TOKEN
warning
Remember that running this in the browser will expose your API key!
Running this cURL request will result in an output like:
[{
"id": null,
"initialConnectURL": "http://production-sfo.browserless.io/firefox/playwright/?token=GOES-HERE",
"isTempDataDir": true,
"launchOptions": {},
"numbConnected": 1,
"routePath": ["/firefox/playwright", "/firefox/playwright"],
"startedOn": 1709584439748,
"ttl": 0,
"userDataDir": null,
"browser": "FirefoxPlaywright",
"browserId": "d9a8570a73666d79d79ac23f07cf8966",
"killURL": null,
"running": true,
"timeAliveMs": 10118,
"type": "browser"
}]