Skip to main content
GET
Get Credits

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
required

API key for authentication

Response

Successful Response

credits
integer
required

Credits this API key can spend right now. For a key with a credit cap, its remaining cap (equal to key_quota.remaining).

key_quota
KeyQuota · object

The key's credit cap. Present only for a key with a cap; omitted otherwise.