Skip to main content
GET
Get Usage Summary

Authorizations

X-API-Key
string
header
required

Query Parameters

period
string
default:day
Pattern: ^(day|week|month)$

Response

Successful Response

Aggregated usage stats returned by /v1/usage/summary.

total_calls
integer
required

Total API calls in period

Required range: x >= 0
total_cost_usd
number
required

Total cost in USD

Required range: x >= 0
avg_latency_ms
number
required

Average latency in ms

Required range: x >= 0
period
string
required

Aggregation period (day, week, month)

endpoint_counts
Endpoint Counts · object

Calls per endpoint

calls_by_status
Calls By Status · object

Calls grouped by HTTP status code