Retrieve a list of all browser sessions, optionally filtered by status.
| Header | Value |
|---|---|
Authorization | Bearer <API_KEY> |
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by session status: "active" or "destroyed" |
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request succeeded |
sessions | array | List of session objects |
| Field | Type | Description |
|---|---|---|
id | string | Unique session identifier |
status | string | Current session status ("active" or "destroyed") |
cdpUrl | string | WebSocket URL for CDP connections |
liveViewUrl | string | URL to watch the session in real time |
createdAt | string | ISO 8601 timestamp of session creation |
lastActivity | string | ISO 8601 timestamp of last activity |