---
title: "List metric failure rates for the insights window"
method: GET
path: "/observability/v1/metric-failure-mode-insights/failure-rates/"
tags: ["observability"]
---

# List metric failure rates for the insights window

`GET /observability/v1/metric-failure-mode-insights/failure-rates/`

## Request

- Base URL: `https://api.cekura.ai`
- URL: `https://api.cekura.ai/observability/v1/metric-failure-mode-insights/failure-rates/`
- Auth: one of:
  - API key in header `X-CEKURA-API-KEY`
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Return the percentage of evaluated calls that failed each metric during the selected Insights date range. Optionally scope to `agent_ids` (comma-separated agent ids) and/or `agent_version_ids` (comma-separated agent version ids) — the latter is how you compare a metric's failure rate before and after an agent version change. Rates are counted from the verdicts recorded at evaluation time, so editing a metric's failure criteria changes future calls only.

## Query parameters

- `agent_ids` string
- `agent_version_ids` string

## Response `200`

- MetricFailureModeInsight: Insight row exposed to the Observability → Insights UI.
  - `id` integer
  - `project` integer
  - `metric` integer, nullable
  - `predefined_metric` integer, nullable
  - `metric_name` string
  - `is_triage` boolean: Derived live from the metric's current Insights opt-in + failure criteria (not persisted) — the FE renders a metric's insight card only when this is true.
  - `window_start` string, date-time
  - `window_end` string, date-time
  - `num_calls_analyzed` integer
  - `total_failures_in_window` integer
  - `status` 'pending' | 'running' | 'succeeded' | 'failed' | 'skipped_no_failures': * `pending` - Pending * `running` - Running * `succeeded` - Succeeded * `failed` - Failed * `skipped_no_failures` - Skipped No Failures
  - `headline` string
  - `overall_status_emoji` string
  - `failure_modes` unknown
  - `error_message` string
  - `duration_seconds` number, double, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Changes

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

[Operation history](https://skmtc.dev/cekura/apis/cekura-api/changes/observability/v1/metric-failure-mode-insights/failure-rates/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)
