Skip to main content
GET
/
v1
/
billing
/
balance
Get credit balance
curl --request GET \
  --url https://api.erna.ai/v1/billing/balance \
  --header 'Authorization: Bearer <token>'
{
  "credits": 2500
}

Authorizations

Authorization
string
header
required

OAuth2 access token or API key

Response

Current credit balance

credits
integer
required
Example:

2500