---
title: "Get Voice Quality Stats"
method: GET
path: "/api/voice/quality-stats"
tags: ["voice", "voice"]
---

# Get Voice Quality Stats

`GET /api/voice/quality-stats`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/voice/quality-stats`
- Auth: none declared

Aggregate voice-call quality for one agent over a window.

Sources: voice_sessions rows (all calls) + metadata.analysis written by
the post-call analyzer (voice_call_analysis agents). Score/success
aggregates cover only analyzed calls; the counts expose how much of the
traffic that actually is, so a 9.5 average over 2 analyzed calls can't
masquerade as a fleet-wide grade.

## Query parameters

- `agent_id` integer, required
- `days` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
