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 → Find devices

AI-generated

Summary

Search for devices in the NinjaOne system using specified query parameters, returning a list of matching device records.

Inputs

  • Return All — Boolean flag to return all matching devices or just a single page of results.
  • Additional Fields — Optional search parameters including 'Q' for a general search query (e.g., name, logged on user, IP) and 'Limit' for maximum number of devices returned.
  • Options — Optional settings including custom request body JSON to override defaults, custom HTTP headers, query filters, batching settings to control request pacing, debug mode to include request details in output, pagination configuration to control how multiple pages of results are fetched, and request timeout in milliseconds.

Output shape

a list of device records matching the search criteria, potentially including pagination metadata depending on settings and API response.

Pagination behavior depends on the user-configured pagination options. If 'Return All' is false, only the first page of results is returned. When debug mode is enabled, request details appear alongside the output. The exact structure of returned device objects corresponds to the NinjaOne API's /v2/devices/search response.

Links

Discussion