---
title: "Metrics Date Range"
method: GET
path: "/api/v1/metrics/date-range"
tags: ["metrics"]
---

# Metrics Date Range

`GET /api/v1/metrics/date-range`

## Request

- Base URL: `https://api.cohearence.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cohearence.app/api/v1/metrics/date-range`
- Auth: HTTP bearer

Union of first/last measurement dates across the requested metrics.

When ``metric_ids`` is omitted or empty, spans every metric that has data.
Returns ``{start, end}`` as ``YYYY-MM-DD`` strings, or ``null`` fields when
no measurements match.

## Query parameters

- `metric_ids` integer[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cohearence/apis/health-agent-api.md) · [All operations](https://skmtc.dev/cohearence/apis/health-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cohearence/apis/health-agent-api/revisions/c7aee7d6ecf0?raw)
