Skip to main content
GET
Get the billing overview

Authorizations

Authorization
string
header
required

A management key (created from the organization dashboard or with POST /v3/manage/auth-keys), sent as Authorization: Bearer <management_key>. Inference API keys (sk-eden...) are not accepted on these endpoints.

Response

200 - application/json
billing_mode
string
required

prepaid (credits bought ahead) or postpaid (invoiced monthly).

currency
string | null
required

What payments are charged in, usd or eur; null until set. It is not the currency of balance.

balance
number<double>
required

Credits left, always in USD whatever currency says.

Required range: -100000000000 < x < 100000000000
postpaid_unbilled_usage
number<double> | null
required

Usage not invoiced yet this period; null for a prepaid organization.

Required range: -100000000000 < x < 100000000000
credit_overdraft_limit
number<double>
required

How far below zero the balance may go.

Required range: -1000000000000 < x < 1000000000000
auto_refill
object
required