---
title: "Get metrics"
method: GET
path: "/api/rules/metrics"
tags: ["Rules"]
---

# Get metrics

`GET /api/rules/metrics`

Read all available metrics to define rules on

## Response `200`

OK

- MetricDefinitionSchema[]
  - `date_range` string — The date range this metric covers
  - `description` string — Human-readable description of the metric
  - `group` string — The group/category this metric belongs to
  - `label` string — The label/name of the metric
  - `unit` string — The unit of measurement for this metric

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/herondata/heron-data-api/revisions/f2e441edece2/schema)
