---
title: "Ingest Pipeline Metrics"
method: POST
path: "/api/v1/livekit/pipeline-metrics"
tags: ["livekit-internal"]
---

# Ingest Pipeline Metrics

`POST /api/v1/livekit/pipeline-metrics`

Ingest per-turn pipeline latency metrics from the LiveKit agent worker.

Called at session end with a batch of per-turn metrics correlated by speech_id.

## Request body

- PipelineMetricsBatchRequest
  - `voice_call_id` string, required
  - `voice_agent_id` string, nullable
  - `tenant_id` string, required
  - `llm_model` string, nullable
  - `stt_model` string, nullable
  - `tts_model` string, nullable
  - `metrics` PipelineMetricItem[], required
    - `speech_id` string, required
    - `eou_delay_ms` integer, nullable
    - `llm_ttft_ms` integer, nullable
    - `tts_ttfb_ms` integer, nullable
    - `e2e_latency_ms` integer, nullable
    - `perceived_latency_ms` integer, nullable
    - `prompt_tokens` integer, nullable
    - `prompt_cached_tokens` integer, nullable
    - `llm_call_count` integer, nullable
    - `llm_total_ms` integer, nullable
    - `transcription_delay_ms` integer, nullable
    - `preemptive_overlap_ms` integer, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

> 28 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/livekit/pipeline-metrics/post.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/6b978a517225?raw)
