---
title: "Download metrics"
method: GET
path: "/v2/metrics/download"
tags: ["Metrics"]
---

# Download metrics

`GET /v2/metrics/download`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/metrics/download`
- Auth: API key in header `OAuth`

Download metrics.

## Query parameters

- `areas` string
- `types` string
- `startYMD` string
- `endYMD` string

## Response `200`

A successful response.

- MetricsDownloadResponse
  - `success` boolean
  - `resources` string[]

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
