---
title: "Get Custom Metrics"
method: GET
path: "/api/v1/metrics/custom"
---

# Get Custom Metrics

`GET /api/v1/metrics/custom`

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/api/v1/metrics/custom`
- Auth: none declared

Evaluate all configured custom metrics and return current values.

Returns an object with a ``metrics`` list. Each entry contains:
- ``name``: metric name
- ``value``: computed float value
- ``unit``: display unit (e.g. ``"lines/$"``)
- ``description``: optional human-readable description
- ``error``: present only when evaluation failed

Returns 200 with an empty list if no custom metrics are configured.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/bernstein/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/bernstein/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/bernstein/apis/bernstein-task-server/revisions/2a20a34ad2eb?raw)
