usage.availableCredits
Returns the credit balance and refresh information for the API key’s caller. For an API key that belongs to a team sub-account, the team’s shared pool balance is returned; for a personal account, the personal balance is returned.
max_refresh_credits, next_refresh_time, and refresh_interval are populated only for personal accounts. Team accounts have no daily/weekly refresh, so these return 0 / 0 / "". Time fields are Unix timestamps in seconds (UTC), not milliseconds.Headers
API key for authentication. This endpoint does not support OAuth2 tokens. See Authentication.
Response
Available credits retrieved successfully.
Whether the request was successful.
true
Unique identifier for this API request.
Credit balance and refresh information for the API key's 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.