Skip to main content
GET
Node.js

Authorizations

Authorization
string
header
required

Send your API key as a bearer token: Authorization: Bearer sk_<secret>.

Response

The workspace balance in USD, as a decimal string with four fractional digits. A workspace with no billing set up returns a zero balance. Responses are sent with Cache-Control: no-store.

currency
enum<string>
required
Available options:
USD
balance
string
required

Current balance in USD.

Example:

"12.3456"