Get all threshold notifications
Notifications
Get all threshold notifications
Retrieve all threshold notification configurations and their current statuses for a specific customer in a single API call. This endpoint provides a comprehensive view of all threshold notification monitoring a customer account.
Use this endpoint to:
- Display all active threshold notifications for a customer in dashboards or admin panels
- Quickly identify which threshold notifications a customer is currently triggering
- Audit threshold notification coverage for specific accounts
- Filter threshold notifications by status (enabled, disabled, or archived)
Key response fields:
- data: Array of CustomerAlert objects, each containing:
- Current evaluation status (
ok,in_alarm,evaluating, ornull) - Complete threshold notification configuration and threshold details
- Threshold notification metadata including type, name, and last update time
- Current evaluation status (
- next_page: Pagination cursor for retrieving additional results
Usage guidelines:
- Default behavior: Returns only enabled threshold notifications unless
alert_statusesfilter is specified - Pagination: Use the
next_pagecursor to retrieve all results for customers with many notifications - Performance: Efficiently retrieves multiple threshold notification statuses in a single request instead of making individual calls
- Filtering: Pass the
alert_statusesarray to include disabled or archived threshold notifications in results
POST
Get all threshold notifications
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Cursor that indicates where the next page of results should start.
Body
application/json
The threshold notifications query to run
The Metronome ID of the customer
Optionally filter by threshold notification status. If absent, only enabled notifications will be returned.
Minimum array length:
1Available options:
enabled, disabled, archived, ENABLED, DISABLED, ARCHIVED, Enabled, Disabled, Archived