---
title: "Get metric info by name"
method: GET
path: "/v1/metrics/{name}"
tags: ["metrics"]
---

# Get metric info by name

`GET /v1/metrics/{name}`

Get information about a given metric.

## Path parameters

- `name` string, required

## Response `200`

The request has succeeded.

- CommonMetricInfo
  - `name` string, required — Name of the metric.
  - `displayName` string, nullable — Display name of the metric. A short description of the metric.
  - `description` string, nullable — Description of the metric. A detailed description of the metric.
  - `units` string, nullable — Unit of the metric.
  - `formula` string, nullable — Formula of the metric.
  - `lastReportedTime` string, date-time, nullable — Last reported time of the metric.

## Other responses

- `401` — Access is unauthorized.
- `404` — The server cannot find the requested resource.
- `500` — Server error

---

[API](https://skmtc.net/solarwinds/apis/solarwinds-observability.md) · [All operations](https://skmtc.net/solarwinds/apis/solarwinds-observability/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarwinds/solarwinds-observability/versions/994e5ca64961/schema)
