Analytics
Analytics - Buckets

Get Namespace Buckets Health

Changed on

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

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/analytics/buckets/health
  • Auth: HTTP bearer and API key in header X-Namespace

Query parameters

hoursinteger

Hours of history

Response

Successful Response

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth AND NamespaceHeader was added to the API