NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Query → Disks

AI-generated

Summary

Query disk information for devices in NinjaOne using optional filters such as device filter expression, cursor for pagination, page size, and timestamp.

Inputs

  • Authentication (required) — Select authentication method, either OAuth2 (Authorization Code) or Client Credentials.
  • Filters — Optional filters including Device Filter (DF) expression to select devices, Cursor for pagination, Page Size to limit number of results (default 200), and Timestamp filter.

Output shape

a list of disk information objects retrieved from the NinjaOne API for the specified devices matching the filters.

The output is an array of JSON objects representing disks. Pagination can be controlled via 'Cursor' and 'Page Size' in the filters. Timestamp can be used to filter results to a certain point in time. If no devices match, the result will be an empty list.

Examples

Example 1: Retrieve disk details for devices filtered by operating system class.

Set Device Filter (DF) to "class in (WINDOWS_WORKSTATION)" and leave other filters empty or default.

Links

Discussion