Get the Browser Use account
GET
/api/v1/browser-use/account
const url = 'https://digize.com/api/v1/browser-use/account';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/browser-use/account \ --header 'x-api-key: <x-api-key>'The connected Browser Use account’s credits (US dollars), how many browsers it may run at once and how many are running, and what the workspace ran with it in the last 30 days.
Needs the settings:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
balanceUsd
required
number
concurrentLimit
required
number
activeSessions
required
number
plan
required
string | null
freeTier
required
boolean
last30Days
required
object
screenshots
required
number
tasks
required
number
minutes
required
number
costUsd
required
number
Example generated
{ "balanceUsd": 1, "concurrentLimit": 1, "activeSessions": 1, "plan": "example", "freeTier": true, "last30Days": { "screenshots": 1, "tasks": 1, "minutes": 1, "costUsd": 1 }}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}