Aggregate check counters for an organization
GET/api/v1/orgs/:org/checks/stats
Org-wide check counters computed server-side with a single SQL aggregation, so they are unaffected by the list endpoint's 100-row page clamp. Scope is the same set the list endpoint shows by default: non-deleted, non-internal checks. total, byStatus, down and hardDown span enabled and disabled checks alike; enabled and disabled partition the same set.
The response is served from a per-organization in-memory cache with a 1-minute TTL, so it can lag a check create/delete or a status flip by up to that long. Clients needing an exact, immediately consistent count should read pagination.total from the list endpoint instead.
Request
Responses
- 200
- 404
Aggregate check counters
Organization not found