Get credit balance
Read the credits available in the account connected to your Personal API Key or access token. You do not need an account, workspace, or collection ID. The token needs credits:read or account-wide admin scope.
remainingCredits combines your monthly credits and top-up credits. Monthly credits are used first. Amounts are decimal strings with up to nine decimal places.
The balance includes usage received so far; pending usage can reduce it later. Reading it does not reserve credits for another task. Completed top-ups appear after settlement; this endpoint does not make or settle a purchase.
Required permissions: credits:read
Authorizations
X-API-Key or AuthorizationstringheaderrequiredWe recommend sending your Personal API Key in x-api-key. Datablist handles token renewal for you. Optionally, use an access token as Authorization: Bearer <token> if your application manages tokens itself. Send only one credential header.
Response
Aggregate balance after reconciling received usage.
200 · application/json
remainingCreditsstringrequiredMonthly allocation plus top-up credits currently available.
"^[0-9]+(?:\\.[0-9]{1,9})?$"monthlyBalanceRemainingCreditsstringrequiredCredits remaining in the active allocation, consumed first.
"^[0-9]+(?:\\.[0-9]{1,9})?$"balanceRemainingCreditsstringrequiredSettled top-up credits remaining.
"^[0-9]+(?:\\.[0-9]{1,9})?$"