Overview
The Credit Breakdown endpoint aggregates credit consumption by feature, giving you a clear picture of where your credits are going. Use this to identify high-consumption features, optimise usage patterns, and forecast future credit needs.Authentication
Requires a valid API key. No special permission scope is needed beyond a valid key.Key Features
- Feature-Level Grouping: See total credits consumed per feature
- Configurable Window: Look back 1 to 365 days
- Percentage Breakdown: Understand relative consumption across features
- No Credit Cost: This endpoint is free to use
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
days | integer | 30 | Number of days to look back (1-365) |
Example Response
Response Fields
| Field | Type | Description |
|---|---|---|
total_credits | integer | Total credits consumed in the time window |
period_days | integer | Number of days covered by the breakdown |
breakdown | array | Per-feature aggregation |
breakdown[].feature | string | Feature name |
breakdown[].credits | integer | Credits consumed by this feature |
breakdown[].percentage | number | Percentage of total credits consumed by this feature |
Credit Usage
This endpoint is free and does not consume credits.Related Endpoints
- Get Credit Balance to check your remaining credits
- Get Credit Usage to see individual usage records
- Get Usage Summary to see a high-level resource consumption overview