Actions64
- Alert Actions
- Backup Actions
- Device Actions
- Approve/Reject
- Cancel Maintenance
- Delete
- Get
- Get Activities
- Get Alerts
- Get Custom Fields
- Get Dashboard URL
- Get Disks
- Get Jobs
- Get Last Logged On User
- Get Many
- Get OS Patch Installs
- Get OS Patches
- Get Policy Overrides
- Get Processors
- Get Software
- Get Software Patch Installs
- Get Software Patches
- Get Scripting Options
- Get Volumes
- Reboot
- Reset Policy Overrides
- Run Script
- Schedule Maintenance
- Update
- Update Custom Fields
- Group Actions
- Location Actions
- Organization Actions
- Query Actions
- Ticket Actions
- Webhook Actions
- Windows Service Actions
Query → Get OS Patches
AI-generatedSummary
Retrieve a list of operating system patches from NinjaOne using optional device filtering and pagination controls.
Inputs
- Return All — Boolean to indicate whether to return all results or limit the output.
- Limit — Maximum number of OS patch results to return when Return All is false (1-1000).
- Filters — Set of filtering options including a device filter query string and a timestamp (Unix) to return patches since that time.
- Filters.Device Filter — Query string to filter devices; supports expressions for dynamic filtering.
- Filters.Since (Timestamp) — Unix timestamp to return OS patches updated since this time.
Output shape
a list of OS patch objects
Supports pagination; when 'Return All' is false, results are limited by 'Limit'. Returned data is an array of patch information objects as received from the NinjaOne API at endpoint /api/v2/queries/os-patches.
Examples
Example 1: Get up to 100 OS patches for all devices
Set Return All to false; set Limit to 100; leave Filters empty.
Example 2: Get all OS patches for devices with specific status
Set Return All to true; set Filter.Device Filter with a query (e.g., status=APPROVED).