---
title: "Get active metrics list"
method: GET
path: "/api/v1/metrics"
tags: ["Metrics"]
---

# Get active metrics list

`GET /api/v1/metrics`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/metrics`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `metrics_read`

Get the list of actively reporting metrics from a given time until now.

## Query parameters

- `from` integer, required
- `host` string
- `tag_filter` string

## Response `200`

OK

- MetricsListResponse: Object listing all metric names stored by Datadog since a given time.
  - `from` string: Time when the metrics were active, seconds since the Unix epoch.
  - `metrics` string[]: List of metric names.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
