Get monthly usage and credits per billable unit
Changed onReturns an organization's usage per billable unit (voice and text simulations, monitored calls, metric evaluations, triage, insights, Labs and AI metric building) with the credits billed for each, one column per calendar month (UTC) plus a total. The range may span at most 12 months. Each row's values maps a month (YYYY-MM) to a number; other_credits covers any remaining billed item and refunds are a negative row, so credit rows sum to total_credits. With an organization-scoped API key the organization comes from the key; with a user session pass organization_id (organization admins only). Pass format=csv to download the same table as CSV. Results may lag usage by up to 30 minutes.
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/test_framework/billing/unit-usage-report/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
Query parameters
Response format. Default: json.
Organization ID. Required for user sessions; ignored for organization-scoped API keys.
First day of the range (YYYY-MM-DD), inclusive.
Last day of the range (YYYY-MM-DD), inclusive. At most 12 calendar months after start_date.
Period to group by. Default: month.
Response
Changes
- info
endpoint added
- info