---
title: "Device health report"
method: GET
path: "/v2/queries/device-health"
tags: ["queries"]
---

# Device health report

`GET /v2/queries/device-health`

Returns list of device health summary records

## Query parameters

- `df` string
- `health` string
- `cursor` string
- `pageSize` integer

## Response `default`

default response

- object
  - `cursor` object
    - `name` string
    - `offset` integer
    - `count` integer
    - `expires` number, double
  - `results` object[]
    - `activeThreatsCount` integer — Active AV threats count
    - `quarantinedThreatsCount` integer — Quarantined AV threats count
    - `blockedThreatsCount` integer — Blocked AV threats count
    - `failedOSPatchesCount` integer — Number of failed OS patches
    - `pendingOSPatchesCount` integer — Number of pending OS patches
    - `alertCount` integer — Alerts count
    - `activeJobCount` integer — Alerts job count
    - `failedSoftwarePatchesCount` integer — Number of failed software patches
    - `pendingSoftwarePatchesCount` integer — Number of pending software patches
    - `pendingRebootReason` string — Pending reboot reasons
    - `avInstallStatus` 'REQUESTED' | 'DOWNLOAD_STARTED' | 'DOWNLOADED' | 'DOWNLOAD_FAILED' | 'INSTALL_STARTED' | 'INSTALLED' | 'INSTALL_FAILED' | 'UNINSTALL_REQUESTED' | 'UNINSTALL_FAILED' | 'UNINSTALLED' — Antivirus installation status
    - `productsInstallationStatuses` object — Integrated products' installation statuses
    - `offline` boolean — Is device offline?
    - `parentDeviceId` integer — Parent device identifier
    - `parentOffline` boolean — Is parent device offline
    - `healthStatus` 'UNKNOWN' | 'HEALTHY' | 'NEEDS_ATTENTION' | 'UNHEALTHY' — Health status
    - `criticalVulnerabilityCount` integer — Critical Vulnerability Count
    - `highVulnerabilityCount` integer — High Vulnerability Count
    - `mediumVulnerabilityCount` integer — Medium Vulnerability Count
    - `lowVulnerabilityCount` integer — Low Vulnerability Count
    - `installationIssuesCount` integer
    - `deviceId` integer — Device identifier

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
