---
title: "Query Metrics Range"
method: GET
path: "/api/v1/clusters/{cluster_id}/observability/metrics/query_range"
tags: ["observability"]
---

# Query Metrics Range

`GET /api/v1/clusters/{cluster_id}/observability/metrics/query_range`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/clusters/{cluster_id}/observability/metrics/query_range`
- Auth: none declared

Execute a range PromQL query against Mimir.

## Path parameters

- `cluster_id` string, uuid, required

## Query parameters

- `query` string, required: PromQL query
- `start` string, required: Start timestamp (ISO 8601)
- `end` string, required: End timestamp (ISO 8601)
- `step` string: Query resolution step

## Response `200`

Successful Response

- MetricsQueryResponse
  - `status` string, required
  - `data` object, required
  - `error` string, nullable
  - `error_type` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
