v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Provider Latency History

Return raw latency samples for time-series charting.

Each sample has: timestamp, provider, model, latency_ms. Samples are ordered chronologically. Use hours to control the lookback window (default 24h, max 7 days).

get/metrics/provider-latency/history

Query parameters

providerstring nullable

Filter by provider name

Filter by provider name

modelstring nullable

Filter by model identifier

Filter by model identifier

hoursinteger

Hours of history to return (1-168)

Hours of history to return (1-168)

Response

Successful Response

{"stackTrail":"paths:/metrics/provider-latency/history:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}