Get Buffering Metrics for Live Stream

Returns aggregated buffering metrics for a live stream over the last ~10 minutes. The response is a nested object: outer keys are time buckets, inner objects hold numeric counters (buffering count, viewers, average buffer duration, etc.).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

GET /lives/{live_id}/buffering_metrics

Returns aggregated buffering metrics for a live stream, over the last ~10 minutes. Use this to surface buffering trends (frequency, duration, viewer impact) on a real-time dashboard or to drive alerts on quality degradation.

📘

Authorization

Requires a valid Panda API token sent in the Authorization header (no Bearer prefix).

HTTP Method & Path

GET /lives/{live_id}/buffering_metrics

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

Security SchemeHeaderNote
API KeyAuthorizationPanda API token (without Bearer prefix)

Parameters

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Path Parameters

FieldTypeRequiredDescriptionConstraints
live_idstring (uuid)YesID of the live stream whose buffering metrics to retrieve.uuid

Response

Success Response (200)

Returns a nested object. Outer keys are time-bucket identifiers (timestamps or interval labels); each inner object holds numeric counters for that bucket (e.g., buffering count, average buffer duration, viewers in the bucket).

{
  "1748430000": { "buffering_count": 12, "viewers": 320, "avg_buffer_ms": 850 },
  "1748430060": { "buffering_count": 8,  "viewers": 318, "avg_buffer_ms": 720 },
  "1748430120": { "buffering_count": 3,  "viewers": 322, "avg_buffer_ms": 410 }
}

Response Schema

LevelTypeDescription
(root)objectMap of time-bucket identifier (string) → bucket data (object).
(root).<bucket>objectMap of metric name (string) → numeric value.
(root).<bucket>.<metric>numberCounter or aggregate for that bucket. Metric names are implementation-defined (e.g., buffering_count, viewers, avg_buffer_ms).
📘

Window & sampling

The data covers the last ~10 minutes of activity. For only the last 1-minute window, use Last Buffering Metrics. Exact bucket size and metric names may evolve — always parse the structure dynamically (do not assume a fixed metric set).

Error Responses

  • 401 Unauthorized — Missing or invalid API token.
  • 404 Not Found — Live not found for the given live_id.
  • 500 Internal Server Error — Server-side error.

Example Usage

cURL

curl -X GET \
  'https://api-v2.pandavideo.com.br/lives/<live_id>/buffering_metrics' \
  -H 'Authorization: your_api_token_here' \
  -H 'Accept: application/json'

Related

Path Params
uuid
required

ID of the live stream.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json