---
title: "Save video playback metrics for future video health recording"
method: POST
path: "/metrics/playback"
tags: ["Internal"]
deprecated: true
---

# Save video playback metrics for future video health recording

`POST /metrics/playback`

> **Deprecated.**

Deprecated in favor of the CMCD collector at /metrics/cmcd, which accepts standard CMCD v2 (CTA-5004-A) reports. This endpoint remains functional for existing clients.

## Request body

- PlaybackMetrics
  - `bandwidth` number, double — The player's measured throughput in kbps.
  - `latency` number, double — How far behind the live edge the player is, in seconds.
  - `errors` number, double, required — Errors since the previous report, not a running total. Reports accumulate, so a client sending a cumulative count inflates the recorded figure.
  - `downloadDuration` number, double — How long the player's most recent segment took to download, in seconds.
  - `qualityVariantChanges` number, double, required — Quality variant switches since the previous report, not a running total.

## Response `200`

Metrics successfully recorded

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/revisions/d3510588e78e/schema)
