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.

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.