NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Queries → Device health report

AI-generated

Summary

Retrieve device health reports from the NinjaOne API, optionally filtering by device or health status and controlling pagination to return either all results or a limited page.

Inputs

  • returnAll — Boolean flag to decide whether to fetch all pages of results or only a single page.
  • additionalFields — Optional filters and pagination controls including device filter (Df), health status filter, cursor for pagination, and page size limit.
  • options — Advanced settings allowing custom request body JSON, custom HTTP headers, additional query-string filters, batching controls, debug output, and detailed pagination configuration.

Output shape

a JSON object containing the device health report data returned by the NinjaOne API

If 'Return All' is enabled, results include multiple pages fetched according to the pagination settings. If debug is enabled, output includes the request details for troubleshooting. Pagination and filtering options affect the shape and size of the returned data accordingly.

Links

Discussion