All stateful HTTP endpoints expect:
Authorization: Bearer <driver_api_key>The WebSocket endpoint uses a signed session token issued by the server.
Returns:
{
"status": "ok",
"activeSessions": 0
}Creates a new upstream Driver session and returns a public proxied CDP URL.
Example request:
{
"country": "CA",
"type": "hosted",
"captchaSolver": true,
"idleTimeoutMs": 120000,
"maxDurationMs": 1800000
}Example response:
{
"success": true,
"data": {
"sessionId": "uuid",
"upstreamSessionId": "sess_...",
"mode": "actions",
"cdpUrl": "wss://host/v1/proxy/connect/uuid?token=...",
"expiresAt": "2026-03-24T22:00:00.000Z",
"idleTimeoutMs": 120000,
"maxDurationMs": 1800000
}
}Returns session metadata for the owning org.
Closes the hosted session and stops the upstream Driver browser session.
Connect a CDP client to the returned cdpUrl.
If the token is invalid, expired, or belongs to the wrong org, the connection is rejected.