analytics
Get Credit Usage
Get credit usage breakdown over time.
Returns:
- total_spent: Total credits spent in period
- total_added: Total credits added in period (resets, purchases)
- by_reason: Breakdown by transaction reason
- time_series: Daily credit usage over the period
- average_daily_spend: Average credits consumed per day
get/v1/analytics/credit-usage
Request
- Base URL: https://api.theagentc.io (the document declares no server; this is the origin it was published from)
- URL: https://api.theagentc.io/v1/analytics/credit-usage
- Auth: HTTP bearer
Query parameters
daysinteger
Number of days to analyze
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.