Skip to main content
POST
Get summary statistics for proxy usage

Authorizations

Authorization
string
header
required

API key secret (starts with s_live_). Create keys in the dashboard under Settings → API keys, or via POST /v1/api-keys/. Send it as Authorization: Bearer <secret>.

Body

application/json

Request model for summary statistics query.

from_date
string<date-time>
required

Start date for the query range

to_date
string<date-time>
required

End date for the query range. At most 365 days after from_date.

Response

Successful Response

Response schema for summary endpoint.

selected_period
PeriodSummary · object
required

Stats for the selected period

previous_period
PeriodSummary · object
required

Stats for the previous period (for comparison)