Latency percentiles and a histogram for a window of your stored queries.
Unlike GET /v2/queries, which pages through individual records, this
summarises the whole filtered population in one bounded response: counts,
exact p50/p95/p99, explicit histogram edges, and the same bins per
collection so their shapes can be compared.
Two numbers are reported separately on purpose. `counts.measured` are the
queries with a recorded processing time; `counts.missing` are matching
queries without one, which are left out of the percentiles rather than
counted as zero milliseconds. `coverage` says how much of the population
recorded each filterable setting, because older queries predate some of
them and answer `unknown`.
Windows are capped at 90 days. Use GET /v2/queries to drill into
individual queries.
Query parameters
fromstring or nullOptional
Start of the window, inclusive. ISO-8601 date or timestamp (UTC when no offset is given).
tostring or nullOptional
End of the window, exclusive.
collectionstring or nullOptional
Only queries against this collection.
api_versionstring or nullOptional
v3, v2, or unknown for queries that recorded no version.
rerankstring or nullOptional
The recorded rerank setting: on, off, or unknown. A setting of on does not mean reranking ran.
search_modestring or nullOptional
keyword, semantic, hybrid, or unknown, derived from the recorded semantic ratio.
has_filterstring or nullOptional
true, false, or unknown for queries that recorded no filter setting.
binsinteger or nullOptional
Histogram resolution (4-64; default 16). Edges are returned explicitly.
refreshbooleanOptionalDefaults to false
Recompute instead of serving a briefly cached result.
Response
Successful Response
generated_atstring
When these numbers were computed. A cached response keeps its original value.
populationstring
Which queries the metric covers. Completed, non-evaluation queries: a failed query records no usage row, and evaluation units are excluded.
collectionslist of objectsOptional
coveragemap from strings to doublesOptional
Per filter, the share of matching queries that recorded that dimension (0.0-1.0). A low value means most of the population answers unknown.
metric"query_processing_time"OptionalDefaults to query_processing_time
What is being measured: server-side query processing time, not end-to-end client latency.
metric_versionstringOptionalDefaults to 1
percentile_method"exact"OptionalDefaults to exact
Percentiles come from the measurements themselves, not an approximate sketch.
unit"ms"OptionalDefaults to ms