cURL
curl --request GET \ --url https://api.athenahq.ai/api/v1/credits/website \ --header 'x-api-key: <api-key>'
{ "credits": { "balance": 1000, "unlimited": false, "included_usage": 500, "next_reset_at": 1735689600 } }
Returns the current credit balance for a specific website.
API key for authentication. You can create one here.
The ID of the website to retrieve credits for
Successful response with credit balance
Credit balance response
Show child attributes
Current credit balance
1000
Whether credits are unlimited
false
Amount of included usage in the current billing period
500
Unix timestamp when credits will reset (null if no reset scheduled)
1735689600
Was this page helpful?