JavaScript
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}}; fetch('https://api.browser-use.com/api/v3/workspaces', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "name": "<string>" } ], "totalItems": 123, "pageNumber": 123, "pageSize": 123 }
Get paginated list of workspaces.
1 <= x <= 100
x >= 1
Successful Response
Response model for paginated workspace list requests.
List of workspace views for the current page
Show child attributes
Total number of items in the list
Page number
Number of items per page