Get query summary metrics
Get summary metrics for queries.
Accepts the same filter set as GET /queries/unified so the summary cards reflect the exact rows the queries table renders for a given filter selection.
Query parameters
Start date
Start date
End date
End date
Filter by single workspace ID (legacy URL pre-selection)
Filter by single workspace ID (legacy URL pre-selection)
Filter by one or more workspace IDs (column multi-select)
Filter by one or more workspace IDs (column multi-select)
Filter by one or more warehouse IDs (legacy column multi-select). Prefer compute_id for new FE bindings — it covers warehouse + cluster + pipeline in one parameter. Entries here are merged with any compute_id warehouse selections before the BE applies the filter.
Filter by one or more warehouse IDs (legacy column multi-select). Prefer compute_id for new FE bindings — it covers warehouse + cluster + pipeline in one parameter. Entries here are merged with any compute_id warehouse selections before the BE applies the filter.
Unified Compute filter: one or more {kind}:{id} selections from the dropdown, where kind is warehouse, cluster, or pipeline. A mixed selection is ORed (rows of any selected kind match). Entries with an unknown kind or empty id are silently skipped so this stays forward-compatible if the FE adopts a new kind ahead of the BE.
Unified Compute filter: one or more {kind}:{id} selections from the dropdown, where kind is warehouse, cluster, or pipeline. A mixed selection is ORed (rows of any selected kind match). Entries with an unknown kind or empty id are silently skipped so this stays forward-compatible if the FE adopts a new kind ahead of the BE.
Filter by insight tags (slow_query, disk_spill, full_table_scan, failed)
Filter by insight tags (slow_query, disk_spill, full_table_scan, failed)
Filter by statement type
Filter by statement type
Filter by one or more user names. Single-value calls (e.g. the User-list drilldown URL ?user_name=alice) continue to work — FastAPI parses the single value as a one-element list and the BE applies the matching IN-clause filter. Multi-select dropdowns send ?user_name=alice&user_name=bob.
Filter by one or more user names. Single-value calls (e.g. the User-list drilldown URL ?user_name=alice) continue to work — FastAPI parses the single value as a one-element list and the BE applies the matching IN-clause filter. Multi-select dropdowns send ?user_name=alice&user_name=bob.
Filter by one or more exact query (statement) IDs
Filter by one or more exact query (statement) IDs
Headers
Response
Successful Response
Changes
No recorded changes to this endpoint across all 28 revisions of this API.