Skip to main content
GET

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful Response

object
string
default:credits
required
remaining
number
required

Credits you can still spend through the API in the current period: the lower of your company's remaining API credits and what is left of your personal monthly limit.

used
number
required

Credits you used this calendar month (API and premium models in amber).

personal_limit
number | null
required

Your monthly credits limit set by your admin, or null if you have none.

api_access
boolean
required

Whether your company allows API usage. If false, remaining is 0.

period_start
string<date-time> | null
required

Start of the current credits period (UTC), or null if your company has no credits.

period_end
string<date-time> | null
required

End of the current credits period (UTC), or null if your company has no credits.