---
title: "Get Metrics"
method: GET
path: "/api/internal/metrics"
tags: ["internal"]
---

# Get Metrics

`GET /api/internal/metrics`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/internal/metrics`
- Auth: none declared

Aggregate metrics as JSON. Cached in-process for ~5 minutes.

Real users only by default; ?include_test=true adds flagged test
accounts back in.

## Query parameters

- `include_test` boolean

## Headers

- `X-Admin-Secret` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
