Skip to main content
GET
Retrieve the Chrome DevTools Protocol discovery JSON for a session. The response includes a webSocketDebuggerUrl pre-rewritten to the public, session-scoped CDP WebSocket path. Use it directly rather than constructing the URL manually.
string
required
Session ID returned by POST /cdp/sessions or GET /cdp/sessions.
string
required
The data token already embedded in the cdpBaseUrl returned when the session was created. Do not substitute your x-api-key here.

Response

string
Chrome version string, e.g. Chrome/136.0.0.0.
string
CDP protocol version, e.g. 1.3.
string
The browser’s User-Agent string.
string
V8 engine version.
string
WebKit version.
string
Pre-rewritten WebSocket URL for the browser CDP endpoint. Pass this directly to your CDP client.

Connect over WebSocket

Upgrade to a WebSocket connection to the browser’s CDP endpoint. CDP messages are proxied bidirectionally between your client and the Chromium instance running in the cloud. Use the webSocketDebuggerUrl returned by the discovery endpoint rather than constructing this URL manually.
string
required
Current CDP session ID.
string
required
Browser target ID from the discovery endpoint. Prefer copying the full webSocketDebuggerUrl directly instead of assembling this path yourself.
string
required
The same data token used for discovery: embedded in cdpBaseUrl and in the webSocketDebuggerUrl returned by the discovery endpoint.