🔗 Console REST APIUsage Management

Get current usage

Retrieves current usage statistics and limits for the organization

GET
/api/billing/usage

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Response Body

Successfully retrieved usage information

  1. response
isSpendMgmtEnabled?boolean
dailySpendHardLimit?|
Formatdouble
dailySpendNotifyThreshold?|
Formatdouble
webhookUrl?string|null
creditUsageToday?number
Formatdouble
creditUsageYesterday?number
Formatdouble
curl -X GET 'https://api-console.apibricks.io/api/billing/usage'
{  "isSpendMgmtEnabled": true,  "dailySpendHardLimit": 0,  "dailySpendNotifyThreshold": 0,  "webhookUrl": "string",  "creditUsageToday": 0.1,  "creditUsageYesterday": 0.1}