---
title: "List predefined metrics"
method: GET
path: "/test_framework/v1/predefined-metrics/"
tags: ["test_framework"]
---

# List predefined metrics

`GET /test_framework/v1/predefined-metrics/`

## Request

- Base URL: `https://api.cekura.ai`
- URL: `https://api.cekura.ai/test_framework/v1/predefined-metrics/`
- Auth: one of:
  - API key in header `X-CEKURA-API-KEY`
  - HTTP bearer
  - HTTP bearer

List predefined metrics

## Response `200`

- PredefinedMetric[]
  - `id` integer
  - `name` string, required: Name of the metric. Example: - `"Customer Satisfaction"` - `"Response Time"`
  - `description` string, required: Description of what the metric measures. Example: `"Measures how satisfied customers are with the service provided"`
  - `code` string: Unique code identifier for the metric
  - `slug` string, nullable: URL-friendly unique identifier in snake_case format
  - `type` 'basic' | 'custom_prompt' | 'custom_code' | 'llm_judge': * `basic` - Basic (Deprecated in favor of LLM Judge) * `custom_prompt` - Custom Prompt ( Deprecated in favor of LLM Judge) * `custom_code` - Custom Code * `llm_judge` - LLM Judge
  - `eval_type` 'binary' | 'continuous_qualitative' | 'numeric' | 'enum': * `binary` - Binary * `continuous_qualitative` - Continuous Qualitative * `numeric` - Numeric * `enum` - Enum
  - `audio_enabled` boolean: Whether this metric requires audio analysis
  - `prompt` string: Evaluation prompt for the metric
  - `function_name` string, nullable: Python function name for custom metric evaluation
  - `enum_values` unknown
  - `custom_code` string: Custom evaluation code for the metric
  - `simulation_enabled` boolean: Enable this metric for simulations. Example: `true` or `false`
  - `observability_enabled` boolean: Enable this metric for observability. Example: `true` or `false`
  - `configuration` unknown
  - `cost` string, decimal: Cost in credits for evaluating this metric. Example: `0.005000`
  - `evaluation_trigger` 'always' | 'automatic' | 'custom': When to trigger this metric evaluation * `always` - Always * `automatic` - Automatic * `custom` - Custom
  - `evaluation_trigger_prompt` string: Prompt to determine when to trigger metric evaluation
  - `category` 'Speech Quality' | 'Conversation Quality' | 'Accuracy' | 'Customer Experience' | 'null', nullable: Category of the metric * `Speech Quality` - Speech Quality * `Conversation Quality` - Conversation Quality * `Accuracy` - Accuracy * `Customer Experience` - Customer Experience
  - `sub_category` string, nullable: Sub category of the metric
  - `organization` integer, nullable

## Changes

- **2026-11-03** `a6fb6a739212`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cekura/apis/cekura-api/changes/test_framework/v1/predefined-metrics/get.md)

---

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