v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB

Get Latency Distribution

Get latency distribution with percentiles (p1, p5, p10, p25, p50, p75, p90, p95, p99) aggregated by day and model.

Returns latency percentiles for:

  • proxy_latency: Time from request received to upstream call initiated
  • ttft_latency: Time from upstream call to first byte received (Time To First Token)

Defaults to the caller's own data. Admin users (with @quadrillion.io email) may opt into cross-user data by passing user_id (specific user) or all_users=true (everyone). Non-admin requests for other users' data are silently scoped to the caller.

get/api/latency_distribution

Query parameters

user_idinteger nullable

Filter by user ID (admin only)

Filter by user ID (admin only)

all_usersboolean

Return data for all users (admin only opt-in)

Return data for all users (admin only opt-in)

modelstring nullable

Filter by model name

Filter by model name

start_datestring date-time nullable

Start date (ISO 8601)

Start date (ISO 8601)

end_datestring date-time nullable

End date (ISO 8601)

End date (ISO 8601)

Response

Successful Response