For AI agents: a documentation index is available at /llms.txt
Skip to main content

/sessions API

The /sessions API returns a list of currently running browser sessions. Available on Private Deployment and Enterprise Docker plans only.

To create and manage persistent browser sessions, see the Session Management documentation.

Prerequisites
  • A Browserless Enterprise license (self-hosted Docker or Private Deployment)

Listing Running Sessions

Issue a GET request to /sessions to list running sessions:

curl -X GET \
https://production-sfo.browserless.io/sessions?token=YOUR_API_TOKEN_HERE
warning

Running this in the browser exposes your API token.

Running this request will result in an output like:

[{
"id": null,
"initialConnectURL": "wss://production-sfo.browserless.io/firefox/playwright/?token=YOUR_API_TOKEN_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"
}]

FAQ & Troubleshooting

How do I get an Enterprise license?

Contact sales@browserless.io or visit the pricing page for Enterprise plan details.

Can I run Browserless on my own infrastructure?

Yes. Enterprise customers can self-host using the Docker image. See Docker deployment for setup instructions.

Next steps