Skip to main content
GET
Get Balance

Authorizations

Authorization
string
header
required

Primary scheme: Authorization: Key <key_id>:<secret>.

Response

Successful Response

Spendable balance on the account this key bills.

Sourced from the workspace wallet for a workspace-bound key, else the caller's personal balance. While the segregated API wallet is enabled, both key types instead read the API wallet that generation debits draw on (a personal key resolves its bound workspace).

Every amount is in US dollars.

balance
number
required

Spendable balance.

currency
string
required

ISO-4217 currency code for every amount in this response.

spent
number | null

Amount consumed in the current billing period; null for the non-expiring API wallet (see GET /v3/usage).