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 groups (saved searches)

AI-generated

Summary

Retrieve a paginated list of system groups (saved searches) from NinjaOne with optional filtering, custom headers, and pagination settings.

Inputs

  • Return All — Boolean to specify whether to retrieve all results across all pages or just a single page of groups.
  • Options — A collection of optional parameters to customize the request, including custom JSON body overrides, additional HTTP headers, query-string filters, batching controls for multiple inputs, debug output, pagination mode and parameters, and request timeout.

Output shape

a JSON object containing an array of group items representing saved searches for systems; the structure matches the data returned by the NinjaOne API's /v2/groups endpoint.

Supports pagination with configurable modes (offset, cursor, or next URL) and parameters to control page size, max pages, and request intervals. When debug is enabled, includes detailed request info in the output. Custom body fields will override preset parameters if provided. If 'Return All' is false, only one page of groups is returned.

Links

Discussion