---
title: "Get a metric for a cluster"
method: GET
path: "/metrics"
tags: ["cluster-info"]
---

# Get a metric for a cluster

`GET /metrics`

Get metrics for a Yugabyte cluster

## Response `200`

Metric response

- object
  - `data` MetricData[], required
    - `name` string, required — The name of the metric
    - `values` array[], required — Array of (timestamp, value) tuples
      - number[]
  - `start_timestamp` integer, required — Start of range of results
  - `end_timestamp` integer, required — End of range of results

## Other responses

- `400` — API Error
- `500` — API Error

---

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