---
title: "Get Hash Metrics"
method: GET
path: "/query/v2/query_group/stats/{query_hash}"
tags: ["QUERIES_V2"]
---

# Get Hash Metrics

`GET /query/v2/query_group/stats/{query_hash}`

## Path parameters

- `query_hash` string, required

## Query parameters

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

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- QueryGroupMetricsResponse
  - `num_runs` integer, required
  - `total_cost` string, required
  - `avg_execution_time` string, required
  - `last_run_time` string, required
  - `max_cost_savings` string, required
  - `max_time_savings` 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/aab3fe5c9f05/schema)
