Get account usage
Returns the authenticated account's credit balance (and how much of it comes from the plan, top-ups and bonuses), plan status and price, a forecast of whether the balance lasts until the billing cycle ends at the current spend rate, and credit spend for a window (the current billing cycle unless start_time/end_time say otherwise) broken down by operation, by day, and by the chats and scheduled tasks that spent the most.
Request
- Base URL: https://api.crevio.co/v1
- URL: https://api.crevio.co/v1/usage
- Auth: API key in header Authorization
Query parameters
Start of the spend window, inclusive, as an ISO 8601 timestamp. Defaults to the start of the current billing cycle (the calendar month without a subscription).
End of the spend window, exclusive, as an ISO 8601 timestamp. Defaults to the end of the current billing cycle. The window cannot exceed 366 days. credits, plan and forecast always describe the current billing cycle.
Response
Account usage
Changes
No recorded changes to this operation across all 2 revisions of this API.