usage.availableCredits
Returns the credit balance, subscription period, and refresh information for the authenticated caller. For a team sub-account, the team’s shared pool balance is returned; for a personal account, the personal balance is returned. Standard OAuth clients cannot access this endpoint; trusted clients can.
Headers
API key for direct authentication. Provide either this or Authorization, not both. See Authentication.
Response
Available credits retrieved successfully.
Whether the request was successful.
true
Unique identifier for this API request.
Credit balance, subscription period, and refresh information for the authenticated caller. All credit fields are 32-bit integers in credit points. total_credits is the authoritative spendable balance — see the field descriptions for how it is composed.