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 → OS Patch installation report

AI-generated

Summary

Retrieve a report of installed operating system patches with optional filtering and pagination controls.

Inputs

  • Return All — Choose whether to return all results or only a single page of patch installation records.
  • Additional Fields — Optional filters and parameters including device filter (Df), patch status (FAILED or INSTALLED), installation date range (installedBefore, installedAfter), cursor for pagination, and page size limit.
  • Options — Optional settings including custom JSON body (merged with other fields, taking priority), custom HTTP headers, query-string filters, batching settings to control input item grouping and request pacing, debug flag to include request details in output, and detailed pagination controls with support for offset, cursor, or URL-based pagination, page size, maximum pages, and request intervals.

Output shape

a list of installed OS patch records, with pagination metadata if enabled

If pagination is enabled, multiple pages of results may be returned depending on settings. Debug mode adds a debug field to outputs showing request details. Filters allow narrowing results by device, status, or installation date range. Batch processing allows rate limiting for multiple input items.

Examples

Example 1: Return all installed OS patches for a specific device with status INSTALLED, including debug info.

Set Return All to true, Additional Fields: Df to the device ID, Status to INSTALLED, and enable Debug.

Links

Discussion