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 → Operating systems report

AI-generated

Summary

Retrieve a report of operating systems from the NinjaOne API, optionally filtering devices, timestamps, and controlling pagination to handle large result sets.

Inputs

  • Return All — Set to true to retrieve all pages of results; false to return only a single page.
  • Additional Fields — Optional filters including Device filter (df), Monitoring timestamp filter (ts), Cursor for pagination, and Page Size to limit records per page.
  • Options — Optional advanced settings such as sending a custom JSON body (overriding other inputs), adding custom HTTP headers, applying query-string filters, batching requests, enabling debug output, configuring pagination details (mode, page size, cursor parameters), and setting request timeouts.

Output shape

a list of operating system report objects

When 'Return All' is false, only one page of results is returned based on the pagination settings. When true, all pages are fetched according to configured pagination options. Enabling debug adds request and response details in the output under a debug field.

Links

Discussion