---
title: "Get Stream Metrics for Live Stream"
method: GET
path: "/{live_id}/stream_metrics"
---

# Get Stream Metrics for Live Stream

`GET /{live_id}/stream_metrics`

## Request

- Base URL: `https://api-v2.pandavideo.com.br/lives`
- URL: `https://api-v2.pandavideo.com.br/lives/{live_id}/stream_metrics`
- Auth: API key in header `Authorization`

Returns time-series ingest metrics (bitrate and frame rate) for a live stream. Use ?limit= to control the number of samples returned. Samples are collected ~once per minute.

## Path parameters

- `live_id` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

Stream metrics samples (bitrate / frame rate) collected during the broadcast.

- object[]: Array of metric data points ordered by time.
  - `timestamp` integer: Unix timestamp (seconds) when the sample was collected.
  - `bytes_in` string, nullable: Bytes per second received from the encoder (string or null when no data).
  - `frame_rate` string, nullable: Frame rate (fps) reported by the ingest (string or null when no data).
  - `bw_in` union: Inbound bandwidth reported by the ingest server. May be a string or number, null when no data.
    - string
    - number

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/pandavideo/apis/live-v2.md) - [All operations](https://skmtc.dev/pandavideo/apis/live-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pandavideo/apis/live-v2/revisions/2ca63304ecc0?raw)
