Account

Account Billing

Returns billing information for the authenticated account. Use the expand parameter to include additional details.

Expandable Fields:

  • credits — Current credit balance and currency

Common Use Cases:

  • Monitor available credit balance programmatically
  • Display balance in custom dashboards
get/account/billing

Query parameters

string
OR
string[]

Data to include in the response. Use 'credits' to include current credit balance.

Response

Account billing information retrieved successfully

usernamestring required

Account username

Example response

{
  "username": "my-team",
  "credits": {
    "current_balance": 24.5,
    "currency": "USD"
  }
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.