Alerts → Get
AI-generatedSummary
Fetch NPAW generic alerts within a date range, with optional filtering and result limiting.
Inputs
- fromDate — Starting date for data retrieval (inclusive). Accepts date format (YYYY-MM-DD HH:mm:ss). Default: last6hours
- toDate — Indicates the final date limit. Accepts YYYY-MM-DD HH:mm:ss. Default: none (not sent to API if unchanged)
- filter — Filter data by dimensions and metrics. Supports multiple filters with logical operators. Passed as JSON string to API.
- limit — Maximum number of results to return. Max 500 for alerts, max 2000 for data. Default: 100
Output shape
Array of alert objects from the NPAW API endpoint /{accountCode}/rawdata/genericalerts, returned as n8n main items.
fromDate is inclusive; toDate defaults to 'none' and is omitted if not changed; filter and limit are optional; API call uses GET method with version=2 and accountCode from credentials.