Skip to main content
GET
Get credit balance

Authorizations

X-API-Key
string
header
required

Response

The organization's API credit balance for the current billing window.

credit_limit
integer
required

The provisioned monthly credit budget for the organization. A value of -1 means unlimited.

Example:

100000

used
integer
required

Credits consumed so far in the current billing window.

Example:

42000

remaining
integer
required

Credits left in the current billing window.

Example:

58000

unlimited
boolean
required

Whether the organization has an unlimited credit budget.

Example:

false

daily_cap
integer
required

A limit on credits spent per UTC day, where one is set for the organization. 0 means none is set, and daily_used and daily_remaining are then 0 as well.

Example:

0

daily_used
integer
required

Credits spent by API calls today (UTC). Against a finite monthly budget the daily limit is a tighter ceiling on the same pool, so this is part of used rather than additional to it. An unlimited budget reports used as 0, and daily_used stands on its own.

Example:

0

daily_remaining
integer
required

Credits left before today's limit is reached.

Example:

0