Get Bucket Health
Get bucket health monitoring metrics.
Analyzes bucket health including:
- Error breakdown by type
- Sync health per configuration
- Stuck/failing syncs
- Overall health status
Use Cases:
- Monitor bucket health
- Identify failing syncs
- Debug errors by type
- Alert on unhealthy buckets
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/buckets/bkt_abc123/health?hours=24" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Path Parameters
Query Parameters
Hours of history
1 <= x <= 720Response
Successful Response
Bucket health monitoring response.
Bucket identifier
Query time range
Overall health status
Total error count
Errors by type
Sync health per config
Sync configs with no recent activity

