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 active alerts (triggered conditions)

AI-generated

Summary

Retrieve a list of active alerts (triggered conditions) for systems from the NinjaOne API, optionally returning all pages or a single page with customizable filters and pagination settings.

Inputs

  • Return All — Boolean option to either retrieve all active alerts by paginating through all pages or to return only a single page of results.
  • Additional Fields — Optional filters including: Source Type (string), Device filter (Df, string), Language tag (Lang, string), and Time Zone (Tz, string) to refine the alert list.
  • Options — Optional settings including custom JSON body to override parameters, custom HTTP headers, arbitrary query string filters, batching controls (batch size and interval), debug output, pagination configuration (mode, parameter names, cursor path, page size, max pages, request interval), and request timeout in milliseconds.

Output shape

a list/array of alert records from the NinjaOne system, corresponding to active triggered alerts on systems

Pagination is configurable; if 'Return All' is enabled, the node fetches all pages according to the pagination mode settings provided. Debug mode adds the actual request details in the output. The API response data path for the alerts can be set via pagination settings. Custom request body values override other selections if provided.

Examples

Example 1: Return only the first page of active alerts for all systems without filters

Set 'Return All' to false and leave filter fields empty.

Example 2: Retrieve all active alerts, filtering by a specific source type and device filter

Set 'Return All' to true and specify values in Additional Fields for 'Source Type' and 'Df'.

Links

Discussion