RESTful interface for automated cache invalidation, point of presence health monitoring, and real-time egress metrics.
All API requests must be made over HTTPS. Management endpoints are served from:
Direct edge telemetry endpoints are also accessible via individual regional edge hostnames under /api/.
MediaByte uses standard Bearer Token authentication. Include your API token in the Authorization header of every request:
Tokens are issued upon account provisioning. To request an enterprise API token, contact our NOC & sales team.
Requests lacking credentials return 401 Unauthorized:
Requests with invalid or expired credentials return 403 Forbidden:
GET /v1/status — Returns the overall operational health and active PoP count across all regions.
GET /v1/pops — Retrieves real-time metadata and supported media transport protocols for all active delivery nodes.
POST /v1/purge — Immediately purges specified URL paths or wildcard prefixes across all edge caches. Propagation completes within ~50ms.
GET /v1/stats — Summarizes total request volume, egress bandwidth, and edge cache hit ratio over a specified time window.
Query parameters:
range: Time window (1h, 24h, 7d). Default: 24h.pop: Optional PoP filter (e.g. nl-dro-01). Default: aggregate all.| Code | Description | Classification |
|---|---|---|
200 OK |
Request processed successfully and response payload returned. | Success |
400 Bad Request |
Malformed JSON body or missing required query parameter. | Client Error |
401 Unauthorized |
Missing or malformed Authorization: Bearer header. |
Auth Required |
403 Forbidden |
Invalid API token, revoked key, or insufficient permissions. | Forbidden |
404 Not Found |
Requested endpoint, region, or resource identifier not found. | Not Found |
429 Too Many Requests |
Rate limit exceeded (>600 requests/minute per token). | Rate Limit |
Management and purge endpoints are rate-limited to 600 requests/minute per API token. Media delivery and segment streaming traffic over edge hostnames is completely unthrottled.