cURL
curl --request GET \ --url https://api.contextual.ai/v1/billing/balance/auto-top-up \ --header 'Authorization: Bearer <token>'
{ "enabled": true, "amount": 123, "balance_threshold": 123 }
Get the auto top-up status 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/balance/auto-top-up request
Whether auto top-up is enabled
Amount in $ to top up
Balance threshold in $ to trigger auto top-up
Was this page helpful?