v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01485121699.8 KB

Get Custom Metrics

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.

get/metrics/custom

Response

Successful Response

{"stackTrail":"paths:/metrics/custom:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}