Get Current Usage
Billing
Get Current Usage
Get current month usage.
Returns credit consumption for the current billing period, estimated cost, and next invoice date.
Requirements:
- Read permission
Example:
response = await client.get("/v1/organizations/billing/usage/current")
print(f"Usage: {response['current_month_usage']} credits")
print(f"Estimated cost: ${response['estimated_cost_usd']}")
GET
Get Current Usage
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
Response with current month usage.
Credits consumed in current billing cycle
Example:
23450
Current billing month (YYYY-MM)
Example:
"2025-12"
Start of current billing period
End of current billing period
Estimated cost for current usage
Example:
23.45
Whether auto-billing is enabled
When next invoice will be generated
Cost per credit in USD

