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

System → List devices (detailed)

AI-generated

Summary

Retrieve a detailed list of devices from the NinjaOne system using the GET /v2/devices-detailed endpoint, optionally paginating results and applying filters.

Inputs

  • Return All — Select whether to return all device results or just a single page. Defaults to false (single page).
  • Additional Fields — Optionally provide device filter (df), page size, and 'after' cursor to refine the list of devices.
  • Options — Configure custom JSON body parameters that merge with standard fields, add custom HTTP headers, include query-string filters, enable batching for multiple inputs, enable debugging output, and customize pagination settings such as pagination mode, page size, cursor parameters, max pages, and request intervals.

Output shape

a paginated list of device objects containing detailed device information

When 'Return All' is enabled, all pages of devices are fetched automatically according to the configured pagination settings. Otherwise, only a single page of results is returned. The response data path and pagination mode can be customized. If debugging is enabled, additional request details are included in the output under a debug entry.

Examples

Example 1: Fetch all detailed device records, auto-paginating through all results.

Set Return All to true, optionally configure pagination options to control batch size and delays.

Example 2: Fetch a single page of detailed devices with a device filter.

Set Return All to false, use the Additional Fields collection to specify 'df' filter and page size.

Links

Discussion