Check Credits
View your current credit balance and spending totals.
GET
/v1/credits
Get credit balance
Authentication
Requires a Bearer token (JWT or API key).
Response
json
1
2
3
4
5
{
"balance": "docs-token-number">4847,
"total_purchased": "docs-token-number">5000,
"total_consumed": "docs-token-number">153
}Credits are deducted after each successful API call. Failed calls are not charged.