NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Get Many

AI-generated

Summary

Retrieve a list of devices from the NinjaOne platform with optional filtering and pagination.

Inputs

  • Authentication (required) — Select the authentication method: OAuth2 (Authorization Code) or Client Credentials.
  • Return All — Choose whether to return all devices or limit the number returned.
  • Limit — Maximum number of devices to return when 'Return All' is false, minimum value is 1.
  • Filters — Optional filters to narrow down the device list, including NinjaOne device filter expression and organization ID.

Output shape

a list of device objects as returned by the NinjaOne API

The resulting data is a JSON array containing device details. If 'Return All' is true, all matching devices are retrieved using pagination; otherwise, the number of devices returned is limited by the 'Limit' parameter.

Examples

Example 1: Get up to 50 devices without filters

Set 'Return All' to false and 'Limit' to 50.

Example 2: Get all devices of a specific type in an organization

Set 'Return All' to true and provide a 'Device Filter (DF)' expression and 'Organization ID' in filters.

Links

Discussion