NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Query → Device Health

AI-generated

Summary

Query device health statistics from the NinjaOne API using optional filters to narrow the results.

Inputs

  • Authentication (required) — Select the authentication method: OAuth2 (Authorization Code) or Client Credentials.
  • Filters — Optional filters to refine the query including Device Filter (DF), Cursor for pagination, Page Size to limit number of results returned, and Timestamp (ts) for a specific point in time.

Output shape

a list of device health records as returned by the NinjaOne API

Supports pagination via cursor and pageSize filter parameters; filters are passed as query parameters to the NinjaOne API endpoint /api/v2/queries/device-health.

Examples

Example 1: Retrieve the latest device health data for all devices up to 200 records

Set Authentication to OAuth2 (or Client Credentials), specify no filters or empty filters, and use default Page Size of 200.

Links

Discussion