---
title: "List Query Latency Collections"
method: GET
path: "/v2/queries/latency/collections"
tags: ["queries"]
---

# List Query Latency Collections

`GET /v2/queries/latency/collections`

The collections that ran queries in the window, most active first.

For organizations with more collections than the metrics response returns
series for, so a picker can search the rest without asking for every
series at once.

## Query parameters

- `from` string, nullable
- `to` string, nullable
- `search` string, nullable
- `limit` integer
- `offset` integer
- `collection` string, nullable
- `api_version` string, nullable
- `rerank` string, nullable
- `search_mode` string, nullable
- `has_filter` string, nullable

## Response `200`

Successful Response

- QueryLatencyFacetsResponseV2 — Searchable collection list for the latency picker, so a large organization never needs every series in one response.
  - `collections` LatencyCollectionFacetV2[]
    - `collection_name` string, required
    - `query_count` integer, required
  - `has_more` boolean, required
  - `limit` integer, required
  - `offset` integer, required
  - `total` integer, required — Distinct collections matching the window and filters.

## Other responses

- `400` — Missing or invalid window, filter value, or bin count.
- `401` — Missing or invalid API key.
- `403` — The API key does not have query permission.
- `422` — Validation Error
- `503` — Analytics are unavailable; no metrics were computed.

## Changes

- **2026-09-24** `61a9364ad042` — 4 breaking, 1 warning, 19 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `503`
  - …20 more
- **2026-09-17** `6ed36830de71` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/runcaptain/apis/api-reference/changes/v2/queries/latency/collections/get.md)

---

[API](https://skmtc.dev/runcaptain/apis/api-reference.md) · [All operations](https://skmtc.dev/runcaptain/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/runcaptain/apis/api-reference/revisions/ac61e472bb7d?raw)
