---
title: "Send custom metrics"
method: POST
path: "/api/client/metrics/custom"
tags: ["Client"]
---

# Send custom metrics

`POST /api/client/metrics/custom`

This operation accepts custom metrics from clients. These metrics will be exposed via Prometheus in Unleash.

## Request body

- CustomMetricsSchema — A collection of custom metrics
  - `metrics` CustomMetricSchema[], required — Array of custom metrics
    - `name` string, required — Name of the custom metric
    - `value` number, required — Value of the custom metric
    - `labels` object — Labels to categorize the metric

## Response `202`

This response has no body.

## Other responses

- `400` — The request data does not match what we expect.

---

[API](https://skmtc.net/unleash/apis/unleash-api-2.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-2/revisions/3ead4e02c359/schema)
