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

# This endpoint is getting rules stats.

`GET /api/v2/healthmonitoring/rules-stats`

## Request

- Base URL: `https://console.jumpcloud.com`
- 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-console-api/docs/api/v2/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-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
