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

# Get Query Group Details

`GET /query/groups/{query_hash}`

> **Deprecated.**

## Path parameters

- `query_hash` string, required

## 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/50769cbf05d5/schema)
