---
title: "Query Metrics"
method: POST
path: "/api/admin/metrics/query"
tags: ["admin-analytics"]
---

# Query Metrics

`POST /api/admin/metrics/query`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/admin/metrics/query`
- Auth: HTTP bearer

Bounded batch of metric queries: shared params validated once,
per-query params validated against each metric's own catalog entry, a
max of 20 queries, and a failing metric embeds its own problem object
in `results` rather than discarding successful siblings or failing the
whole request.

Request shape: `{"params": {...shared, optional...},
"queries": [{"metric": "...", "params": {...per-query, optional...}}]}`.
Per-query params override the shared ones on conflict.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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