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

Devices → Device software inventory

AI-generated

Summary

Retrieve the software inventory for a specific device by its identifier, optionally handling pagination to return all software items or a limited page of results.

Inputs

  • id (required) — Device identifier for which to fetch the software inventory.
  • returnAll — Boolean flag indicating whether to return all results (handle pagination) or just a single page.
  • options — Collection of optional parameters including custom request body JSON, custom HTTP headers, query-string filters, batching settings, debug flag, pagination configuration, and request timeout in milliseconds.

Output shape

A JSON object or array representing the software inventory items associated with the specified device. If pagination is enabled and returnAll is true, the output includes all software inventory items aggregated across pages; otherwise, it contains a single page of results.

The response data path, pagination method, and limits can be configured via options for pagination and query filters. Debug mode can output the exact API request details under a debug entry in the output. When batching is used, requests will be split into groups per the batch size and interval settings.

Links

Discussion