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

Queries → Computer systems report

AI-generated

Summary

Retrieve a paginated or complete report of computer systems from the NinjaOne API's /v2/queries/computer-systems endpoint.

Inputs

  • Return All — Boolean to specify whether to return all available results or just a single page.
  • Additional Fields — Optional filters and pagination controls including device filter ('df'), monitoring timestamp filter ('ts'), cursor for pagination, and page size limit.
  • Options — Additional settings such as custom JSON body payload merging, custom HTTP headers, query string filters, batching parameters (batch size and interval), debug flag for request details, pagination mode and parameters (offset-based, cursor-based, or next url), timeout settings.

Output shape

a JSON object containing a list of computer systems as returned by the API, possibly paginated depending on inputs

Pagination behavior depends on the provided parameters and node configuration; when 'Return All' is false, only one page is retrieved. Using 'Options' allows customization of headers, body, and query filters which affect the API response shape. Debug output is included in a separate property when enabled.

Examples

Example 1: Fetch all computer systems with a device filter and 100 records per page

Set 'Return All' to true, add 'df' in Additional Fields to filter devices, configure 'Page Size' to 100 in Additional Fields or Pagination options.

Links

Discussion