---
title: "GET /v1/datasource/{uid}/metric/{metric}"
method: GET
path: "/v1/datasource/{uid}/metric/{metric}"
tags: ["Datasource"]
---

# GET /v1/datasource/{uid}/metric/{metric}

`GET /v1/datasource/{uid}/metric/{metric}`

## Request

- The document declares no server URL.
- Auth: none declared

GetMetricLabelDetail returns one metric's labels and each label's values (detail view for a single metric).

## Path parameters

- `uid` string, required
- `metric` string, required

## Response `200`

OK

- MarksmanApiV1MetricDetailItem
  - `name` string
  - `help` string
  - `unit` string
  - `type` string
  - `labels` MarksmanApiV1MetricLabelItem[]
    - `name` string
    - `values` string[]

## Changes

- **2026-03-09** `9c217b052aa9`: 1 info
  - endpoint added
- **2026-02-28** `f5912329bb01`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/changes/v1/datasource/:uid/metric/:metric/get.md)

---

[API](https://skmtc.dev/aide-family/apis/aide-family-marksman-api.md) - [All operations](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aide-family/apis/aide-family-marksman-api/revisions/26ae221fccba?raw)
