Launch a new cloud browser session with Playwright pre-initialized.
| Header | Value |
|---|---|
Authorization | Bearer <API_KEY> |
Content-Type | application/json |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ttl | number | No | 300 | Total session lifetime in seconds (30-3600) |
activityTtl | number | No | 60 | Seconds of inactivity before session is destroyed (10-3600) |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the session was created |
id | string | Unique session identifier |
cdpUrl | string | WebSocket URL for CDP connections |
liveViewUrl | string | URL to watch the session in real time |
expiresAt | string | When the session will expire based on TTL |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.