Skip to main content
GET
/
v1
/
analytics
/
buckets
/
{bucket_id}
/
upload-performance
Get Upload Performance
curl --request GET \
  --url https://api.mixpeek.com/v1/analytics/buckets/{bucket_id}/upload-performance \
  --header 'Authorization: Bearer <token>'
{
  "bucket_id": "<string>",
  "time_range": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z"
  },
  "metrics": [
    {
      "time_bucket": "2023-11-07T05:31:56Z",
      "upload_count": 123,
      "avg_latency_ms": 123,
      "p95_latency_ms": 123,
      "p99_latency_ms": 123,
      "avg_throughput_mbps": 123,
      "error_rate": 123
    }
  ],
  "summary": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bucket_id
string
required

Query Parameters

hours
integer
default:24

Hours of history

Required range: 1 <= x <= 720
group_by
string
default:hour

Time grouping: hour, day

Response

Successful Response

Upload performance analytics response.

bucket_id
string
required

Bucket identifier

time_range
TimeRange · object
required

Query time range

metrics
UploadPerformanceMetric · object[]
required

Upload performance metrics

summary
Summary · object

Summary statistics