GET
/
billing
/
metadata
Get Billing Metadata
curl --request GET \
  --url https://api.contextual.ai/v1/billing/metadata \
  --header 'Authorization: Bearer <token>'
{
  "is_low_balance": true,
  "is_auto_top_up_enabled": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response to GET /billing/metadata request

is_low_balance
boolean
required

Whether the user is low on balance

is_auto_top_up_enabled
boolean
required

Whether auto top-up is enabled