---
title: "Get raw metrics"
method: GET
path: "/v2/metrics/raw"
tags: ["Metrics"]
---

# Get raw metrics

`GET /v2/metrics/raw`

## Request

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

Get raw metrics.

## Query parameters

- `start` string, int64
- `end` string, int64
- `areas` string
- `types` string
- `references` string

## Response `200`

A successful response.

- MetricsRawResponse
  - `success` boolean
  - `data` ModelMetric[]
    - `timestamp` string, int64
    - `employee` integer
    - `area` integer
    - `type` string
    - `reference` string
    - `value` number, double
    - `state` 'ACTUAL' | 'PLAN' | 'FORECAST' | 'BUDGET'
    - `location` integer
    - `id` string
    - `created` string
    - `modified` string
    - `payload` 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)
