Skip to main content
GET
/
api
/
v1
/
credits
/
website
Get Website Credits
curl --request GET \
  --url https://api.athenahq.ai/api/v1/credits/website \
  --header 'x-api-key: <api-key>'
{
  "credits": {
    "total": 700,
    "monthly": {
      "balance": 700,
      "next_reset_at": 1772227690021
    },
    "one_off": {
      "balance": 0
    }
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Query Parameters

website_id
string<uuid>
required

The ID of the website to retrieve credits for

Response

Successful response with credit balance

Credit balance response

credits
object
required