NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Alert → Get Many

AI-generated

Summary

Retrieves alerts from NinjaOne, optionally filtering by device query string and source type.

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Max number of results to return (default 50, max 1000). Required when returnAll is false.
  • alertFilters — A collection of filters to apply to the query. Includes a Device Filter (df) query string and a Source Type dropdown (All, Condition, Condition Action Failure).

Output shape

a list of alert items

When returnAll is true, the node uses cursor-based pagination to fetch all results. The device filter query string supports dynamic expressions like {{ $.filter }}.

Examples

Example 1: Fetch the first 50 alerts across all devices and sources.

Set Return All to false, Limit to 50, and leave Filters empty.

Example 2: Retrieve all alerts triggered by condition action failures.

Set Return All to true, Device Filter to 'sourceType=CONDITION_ACTION_FAILURE', and leave Source Type as All.

Example 3: Get a specific set of alerts filtered by a device status.

Set Return All to false, Limit to 100, and Device Filter to 'status=APPROVED' or 'status=DISAPPROVED'.

Links

Discussion