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

# Query Metrics

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

## 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`
- Auth: none declared

Execute an instant PromQL query against Mimir.

## Path parameters

- `cluster_id` string, uuid, required

## Query parameters

- `query` string, required: PromQL query
- `time` string, nullable: Evaluation timestamp (ISO 8601)

## 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)
