Get usage summary
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
days | integer | 30 | Number of days to include |
Example
Response fields
| Field | Description |
|---|---|
requests | Total number of API calls |
input_tokens | Total prompt tokens consumed |
output_tokens | Total completion tokens generated |
total_tokens | Sum of input and output tokens |
avg_latency_ms | Average response latency in milliseconds |
cost_usd | Total cost in USD for the period |