Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

API key in the Authorization header. Management endpoints require a management key (sk-mgmt-...). GET /api/v1/models and GET /api/v1/usage require an inference key (sk-gw-...).

Response

Organization usage snapshot. Prepaid organizations carry credits and a daily allowance; invoiced organizations carry the invoice window instead.

billingTerms
enum<string>
required

How the organization is billed. prepaid spends a wallet and plan allowance; invoiced bills a monthly net-30 invoice against a spend limit.

Available options:
prepaid,
invoiced
plan
object
required
credits
object | null
required

Wallet balance and overage. Null for invoiced organizations, which have no wallet.

invoice
object | null
required

The active invoice window. Null for prepaid organizations.

models
object[]
required

Models with usage today. A model with no usage today is omitted, which means zero tokens so far.