Documentation
The sessions API lives on the agents. host of this domain, over HTTPS only. It creates and releases browser sessions; everything you do inside a session goes over the DevTools connection, not the API.
- Quickstart: open a session in Frankfurt, load a page and release it.
- Sessions: regions, lifecycle, limits and recording.
- API reference: every endpoint and field.
- OpenAPI spec for tools that read one.
Authentication
Send your key as a bearer token. Keys start with pgl_live_ or, for test accounts, pgl_test_.
Authorization: Bearer pgl_test_...
Errors
Every failure returns a JSON body whose error key explains it. 400 means a field is missing or invalid, 401 a missing or unknown key, 404 an unknown or already released session, 429 that you are at your plan's session limit.