NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Actions120

Query → Device Health

AI-generated

Summary

Query NinjaOne’s device health endpoint and return the matching health records. Choose OAuth2 or Client Credentials, then optionally filter results and set a page size or cursor for pagination.

Inputs

  • Authentication (required) — Select OAuth2 (Authorization Code) or Client Credentials and configure the corresponding NinjaOne credentials.
  • Filters — Optional query parameters: Cursor for pagination, Health to filter by health status, and Page Size (default 200). You can also filter by Approval Status, Device Classes, Device ID, Location ID, Online Status, Organization ID, or Role ID. ID fields accept comma-separated values; device filters are combined into a NinjaOne device-filter expression.

Output shape

A list of n8n items, each containing one returned device health record in its JSON field.

The operation makes a single GET request to NinjaOne’s device-health query endpoint with the supplied filters. The response is split into items if it is an array; the node does not automatically fetch additional pages.

Links

Discussion