cURL
curl --request GET \ --url https://api.browserbase.com/v1/sessions \ --header 'X-BB-API-Key: <api-key>'
[ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "projectId": "<string>", "startedAt": "2023-11-07T05:31:56Z", "endedAt": "2023-11-07T05:31:56Z", "expiresAt": "2023-11-07T05:31:56Z", "status": "RUNNING", "proxyBytes": 123, "avgCpuUsage": 1, "memoryUsage": 1, "keepAlive": true, "contextId": "<string>", "region": "us-west-2", "userMetadata": {} } ]
Your Browserbase API Key.
RUNNING
ERROR
TIMED_OUT
COMPLETED
Query sessions by user metadata. See Querying Sessions by User Metadata for the schema of this query.
The request has succeeded.
The response is of type object[].
object[]
Was this page helpful?