List run filter facets
const url = 'https://example.com/api/v1/requests/facets?projectId=00000000-0000-0000-0000-000000000000';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/requests/facets?projectId=00000000-0000-0000-0000-000000000000'Returns every distinct value and its full-dataset count per categorical filter dimension for the Runs list rail. Counts are absolute over all non-deleted runs in the given project: they intentionally ignore the active search, date range, iteration, and categorical selections so every selectable value stays visible with a stable count. Requires ?projectId=. Computed with parallel $group aggregations (Cosmos has no $facet) and cached per-project for a short TTL.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.
Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.
Responses
Section titled “ Responses ”Success