---
title: "Get Metrics"
method: GET
path: "/api/v1.admin.metrics.get"
tags: ["Admin"]
---

# Get Metrics

`GET /api/v1.admin.metrics.get`

Dump the current metrics (which would otherwise be sent to the OTLP metrics receiver)

## Response `200`

- GetMetricsOut
  - `metrics` MetricOut[], required
    - `label` string, required — Label for this series
    - `description` string, required — Human-readable description of this series
    - `attributes` object, required — Key/Value pairs attached to this sequence
    - `value` number, double, required — Most recent data point for this series All points (u64, i64, and f64) are squished into an f64, be careful of inexactness for values above 2**53.
    - `metric_type` 'counter' | 'gauge', required
    - `timestamp` integer, required — Timestamp this metric was collected
    - `unit` string, nullable — Optional unit, following UCUM unit conventions if possible See https://ucum.org/ for details

## Other responses

- `400`
- `401`
- `403`
- `422`

---

[API](https://skmtc.net/svix/apis/diom-api.md) · [All operations](https://skmtc.net/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/diom-api/versions/e98d7f3a3e10/schema)
