---
title: "Get Query Group Details"
method: GET
path: "/query/v2/groups/{query_hash}"
tags: ["QUERIES_V2"]
---

# Get Query Group Details

`GET /query/v2/groups/{query_hash}`

## Path parameters

- `query_hash` string, required

## Query parameters

- `start_date` string
- `end_date` string
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- QueryGroupResponse
  - `query_hash` string, required
  - `query_name` string, nullable
  - `trimmed_query` string, required
  - `full_query` string, nullable
  - `total_run` string, required
  - `avg_exec_time` string, required
  - `avg_cost` string, required
  - `total_cost` string, required
  - `annualized_cost` string, required
  - `distinct_warehouses` integer, required
  - `distinct_users` integer, required
  - `distinct_roles` integer, nullable
  - `tags` string[], required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
