JavaScript
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}}; fetch('https://api.browser-use.com/api/v3/sessions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "sessions": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "created", "model": "bu-mini", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "title": "<string>", "output": "<string>", "liveUrl": "<string>", "profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "proxyCountryCode": "ad", "maxCostUsd": "<string>", "totalInputTokens": 0, "totalOutputTokens": 0, "proxyUsedMb": "0", "llmCostUsd": "0", "proxyCostUsd": "0", "totalCostUsd": "0" } ], "total": 123, "page": 123, "pageSize": 123 }
List sessions for the authenticated project.
x >= 1
1 <= x <= 100
Successful Response
Show child attributes