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 → Software inventory

AI-generated

Summary

Retrieve software inventory data from NinjaOne with optional filtering and pagination controls.

Inputs

  • returnAll — Boolean flag to return all pages of software inventory data or just a single page.
  • additionalFields — Optional filters including device filter (Df), cursor for pagination, page size limit, installed before date, and installed after date.
  • options — Optional settings including custom JSON body fields (overrides other settings), custom HTTP headers, additional query-string filters, batching parameters, debug mode, pagination controls such as pagination mode, page size, cursor parameters, max pages, request interval, and request timeout.

Output shape

a list of software inventory records in JSON format

The output returns software inventory items with pagination support. When 'returnAll' is false, only one page of results is returned; when true, all pages are fetched respecting pagination settings. If debug is enabled, request details are included in the output under a debug entry.

Examples

Example 1: Fetch first page of software inventory with default page size

returnAll set to false, no additional filters or options.

Example 2: Fetch all software inventory records installed after a specific date

returnAll set to true, additionalFields.installedAfter set to the ISO date string.

Example 3: Fetch software with custom pagination and filter

Options configured with pagination mode, page size, and queryFilters to refine results.

Links

Discussion