---
title: "Get Metric Library"
method: GET
path: "/api/v1/custom-metrics/library"
tags: ["custom-metrics"]
---

# Get Metric Library

`GET /api/v1/custom-metrics/library`

Return the curated metric-template Library.

The catalog is static (curated by us, not tenant data). A template is marked
``added`` when the tenant already has an ACTIVE metric cloned from it.

## Response `200`

Successful Response

- MetricLibraryResponse — GET /custom-metrics/library — the curated template catalog.
  - `items` LibraryTemplateEntry[], required
    - `template_key` string, required
    - `name` string, required
    - `description` string, required
    - `category` string, required
    - `compute_type` 'model' | 'formula', required
    - `response_type` 'pass_fail' | 'yes_no' | 'numeric_score' | 'categorical' | 'text' | 'json', required
    - `tags` string[], required
    - `added` boolean

## Other responses

- `401` — Authentication required

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/c0f54348e251/schema)
