v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBAnalytics
Analytics - Buckets
Get Namespace Buckets Health
Get health for ALL buckets in the namespace in one request.
Batch counterpart of GET /{bucket_id}/health: two grouped analytics queries cover the whole namespace instead of a query fan-out per bucket. Buckets with no events in the window are omitted from the response and should be treated as healthy.
Use Cases:
- Monitoring dashboards listing many buckets (replaces the per-bucket health call fan-out that scaled linearly with bucket count)
- Alerting sweeps over all buckets
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/buckets/health?hours=24" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
get/v1/analytics/buckets/health
Query parameters
hoursinteger
Hours of history
Hours of history
Response
Successful Response