cURL
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 }
Non admin endpoint for getting the billing metadata for a tenant.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response to GET /billing/metadata request
Whether the user is low on balance
Whether auto top-up is enabled
Was this page helpful?