---
title: "This endpoint is getting rules stats."
method: GET
path: "/healthmonitoring/rules-stats"
tags: ["Monitoring and Alerting"]
---

# This endpoint is getting rules stats.

`GET /healthmonitoring/rules-stats`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/healthmonitoring/rules-stats`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/healthmonitoring/rules-stats/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint is used for getting rules stats.

## Response `200`

A successful response.

- JumpcloudHealthmonitoringGetRulesStatsResponse: GetRulesStatsResponse is the response to the Get Rule Stats.
  - `systemInsightsRequiredCount` integer: number of rules which require system insights to be enabled.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
