Skip to main content
GET
Retrieve browser access

Authorizations

Authorization
string
header
required

Secret key (sk_live_...)

Path Parameters

session_id
string
required

Unique identifier for the session (prefixed with sess_).

Pattern: ^sess_
Example:

"sess_AbC123xYz456"

Response

OK

A browser access grant: a short-lived URL to drive a session's browser over CDP.

id
string
required

Unique identifier for the grant (prefixed with bacc_).

object
string
required

Always browser_access.

session_id
string
required

The session whose browser this grant opens.

cdp_url
string
required

CDP over WebSocket, for Playwright connect_over_cdp, Puppeteer connect, or another CDP client. Its token query parameter (prefixed bt_) is a secret, so treat the URL like an API key. One CDP connection at a time.

live_view_url
null | string
required

Always null for now.

status
enum<string>
required

active or revoked. Check expires_at for expiry; status doesn't change when a grant expires.

Available options:
active,
revoked
expires_at
string<date-time>
required

When the grant stops opening new connections, 30 minutes after created_at. An open connection stays up until the grant is revoked or the session ends.

created_at
string<date-time>
required

When the grant was created.

request_id
string
required

Unique identifier for the API request. Include this when contacting support.