Skip to main content
GET
Get API key credit balance

Authorizations

x-api-key
string
header
required

API key for authentication

Response

API key balance information

key_prefix
string

The API key prefix

Example:

"sk-live-abcd1234"

daily_cap
integer

Maximum credits this key can spend per day

Example:

50

daily_spent
integer

Credits spent by this key today

Example:

12

daily_remaining
integer

Credits remaining for today (daily_cap - daily_spent)

Example:

38

effective_available
integer

Actual available credits (org credit balance)

Example:

38