Credit account balance

1 min readEdit this page
GET
/v1/billing/balance

Returns the raw balance, pending debits, and effective available amount in micro-USD.

Requires the billing:read scope.

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/billing/balance"
{}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}

How is this guide?