Get credit usage and balance
GET/v1/usage/credits
Returns prepaid credit usage for the period (totals and daily series) and the current balance. Without billing_account_id, sums every account in the organization. Without dates, uses the current month (São Paulo time zone).
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 500
Period usage and balance.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Rate limit exceeded.
Unexpected server error.