Get current month usage.
Returns credit consumption for the current billing period, estimated cost, and next invoice date.
Requirements:
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']}")
Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
Successful Response
Response with current month usage.
Credits consumed in current billing cycle
23450
Current billing month (YYYY-MM)
"2025-12"
Start of current billing period
End of current billing period
Estimated cost for current usage
23.45
Whether auto-billing is enabled
When next invoice will be generated
Cost per credit in USD