Skip to main content
POST
Create a new dedicated CDP session. The server starts a Chromium instance, applies your browserSettings, and returns a cdpBaseUrl you can pass directly to playwright.connectOverCDP() or use for manual CDP discovery.
number
Milliseconds of inactivity before the session is terminated. Values above the server cap are silently clamped.
number
Maximum total lifetime of the session in milliseconds. Values above the server cap are silently clamped.
object
Browser configuration applied when the Chromium instance starts.

Response

string
Unique identifier for the active session. Use it for all subsequent list, delete, and CDP requests.
string
RFC 3339 timestamp when the session will expire.
string
Fully formed base URL for this session. Pass it directly to playwright.connectOverCDP(). It already contains the data token as a query parameter: do not replace or append your API key.
The cdpBaseUrl carries an embedded data token that authorizes CDP access. Never replace that token with your x-api-key. Store it securely and treat it with the same care as a credential.