---
title: "Get Latest Query For Query Group By Hash"
method: POST
path: "/query/v2/indices/{query_hash}"
tags: ["QUERIES_V2"]
deprecated: true
---

# Get Latest Query For Query Group By Hash

`POST /query/v2/indices/{query_hash}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/query/v2/indices/{query_hash}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **Deprecated.**

## Path parameters

- `query_hash` string, required

## Headers

- `x-tenant` string, required

## Request body

- QueryIndicesRequest
  - `spans` string[], required

## Response `200`

Successful Response

- QueryIndicesResponse
  - `spans` object, required
  - `query_text` string, required

## Other responses

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

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
