> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get call audio quality

> Packet loss and jitter per media stream for one call, plus a per-call rollup.

Returns audio quality for a call, derived from RTP Control Protocol (RTCP) reports: packet loss and jitter for each media stream, and a rollup across the call. Use it to distinguish network or media problems from agent problems. To see the signalling for the same call, use [get call SIP ladder](https://docs.poly.ai/api-reference/telephony/endpoint/get-call-sip-ladder.md). See the [overview](https://docs.poly.ai/api-reference/telephony/introduction.md) for how streams and the time window work.

## Request

### Headers

**X-API-KEY** `string` *required*

Account API key with read access to conversations.

### Path parameters

**conversation\_id** `string` *required*

The call SID.

### Query parameters

**project\_id** `string`

The agent the call belongs to. Optional with an account API key; required with a PAT. A call that belongs to a different agent returns `404`.

**from** `datetime`

Start of the window in which the call is looked up, ISO 8601. Defaults to 14 days ago, the retention limit.

**to** `datetime`

End of the window, ISO 8601. Defaults to now.

## Response

**conversation\_id** `string`

**account\_id** `string`

**project\_id** `string`

`null` when you did not pass `project_id`.

**first\_ts** `datetime`

Time of the first report, UTC. See `report_count` for the case where there are none.

**last\_ts** `datetime`

Time of the last report, UTC.

**report\_count** `integer`

Number of RTCP reports received for the call. `0` when the call exists but no report arrived, for example because it ended before audio started. In that case `streams` is empty, `packets_lost` is `0`, `fraction_lost_max_pct` and `jitter_max_ms` are `null`, and `first_ts` and `last_ts` both equal the start of the span searched, not a report time.

**packets\_lost** `integer`

Packets lost, summed across streams.

**fraction\_lost\_max\_pct** `number`

The highest percentage of packets lost in a single reporting interval on any stream. `null` when no stream reported it.

**jitter\_max\_ms** `number`

The highest jitter on any stream, in milliseconds. `null` when no stream reported it.

**streams** `object[]`

One entry per leg, reporting endpoint and source, ordered by `first_ts`. A field a stream's reports never carried is `null`.

**properties**

**call\_id** `string`

The SIP `Call-ID` of the leg the stream belongs to.

**ssrc** `string`

Synchronization source (SSRC) identifier of the reporting endpoint.

**source\_ssrc** `string`

SSRC of the stream being reported on. `null` for sender-only reports, which carry no report block.

**first\_ts** `datetime`

**last\_ts** `datetime`

**report\_count** `integer`

**packets\_sent** `integer`

Packets the reporting endpoint (`ssrc`) itself sent, from its sender reports. Not the denominator for `packets_lost`, which describes what it received from `source_ssrc`.

**packets\_lost** `integer`

Cumulative packets lost from `source_ssrc`, from the stream's last report.

**fraction\_lost\_avg\_pct** `number`

The average percentage of packets lost per reporting interval.

**fraction\_lost\_max\_pct** `number`

The highest percentage of packets lost in a single reporting interval.

**jitter\_avg\_ms** `number`

Average interarrival jitter, calculated assuming an 8 kHz RTP clock.

**jitter\_max\_ms** `number`

**truncated** `boolean`

`true` when the cap of 5,000 reports was reached and later reports are missing.

## Example

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl "https://api.us.poly.ai/api/v1/telephony/calls/CA3f2c1e9d6b7a4f8e9c0d1b2a3c4d5e6f/quality?project_id=PROJECT-V258TF29" \
  -H "X-API-KEY: YOUR_API_KEY"
```

```json Response theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "conversation_id": "CA3f2c1e9d6b7a4f8e9c0d1b2a3c4d5e6f",
  "account_id": "ACCOUNT-4F8K2M1P",
  "project_id": "PROJECT-V258TF29",
  "first_ts": "2026-11-10T09:14:07.300000Z",
  "last_ts": "2026-11-10T09:14:47.800000Z",
  "report_count": 31,
  "packets_lost": 12,
  "fraction_lost_max_pct": 1.56,
  "jitter_max_ms": 14.25,
  "streams": [
    {
      "call_id": "b1c4e7f2-9a30-4d6e-8c5b-0f2a7d3e1b94",
      "ssrc": "1928374650",
      "source_ssrc": "3049281756",
      "first_ts": "2026-11-10T09:14:07.300000Z",
      "last_ts": "2026-11-10T09:14:47.300000Z",
      "report_count": 16,
      "packets_sent": 2250,
      "packets_lost": 7,
      "fraction_lost_avg_pct": 0.29,
      "fraction_lost_max_pct": 1.56,
      "jitter_avg_ms": 4.12,
      "jitter_max_ms": 9.75
    },
    {
      "call_id": "b1c4e7f2-9a30-4d6e-8c5b-0f2a7d3e1b94",
      "ssrc": "3049281756",
      "source_ssrc": "1928374650",
      "first_ts": "2026-11-10T09:14:07.800000Z",
      "last_ts": "2026-11-10T09:14:47.800000Z",
      "report_count": 15,
      "packets_sent": 2236,
      "packets_lost": 5,
      "fraction_lost_avg_pct": 0.18,
      "fraction_lost_max_pct": 0.78,
      "jitter_avg_ms": 5.6,
      "jitter_max_ms": 14.25
    }
  ],
  "truncated": false
}
```

## Errors

| Status | Meaning |
| - | - |
| `400` | `project_id` is required for your credential and was not sent. |
| `401` | Missing or invalid API key. |
| `403` | Authenticated, but the key cannot read conversations. |
| `404` | The call has no telephony data, is older than 14 days, belongs to another account or does not match `project_id`. |
| `422` | A parameter is malformed, for example `from` or `to`. |
| `429` | Too many requests. Wait for the `Retry-After` period, then retry. |
| `502` | The telephony data store did not answer. Retry with backoff. |
