/api/v2/alertsRetrieves alerts for the authenticated team (paginated). Results are capped at limit (default and maximum 1000). When more records exist than are returned, meta.total exceeds data.length; clients with large collections must page with limit/offset to retrieve them all.
Authorizations
Query parameters
Response
200
Successfully retrieved alerts
- dataarray ofunknown{ … }required
List of alert objects.
27 properties
Chart configuration for inline alerts. Required when source is "inline" and rejected otherwise. Returned on single-alert responses (GET by ID, POST, PUT); the list endpoint omits it.
3 variants
One of the following:
- AlertLineChartConfig{ … }
3 properties
- nameoptionalstring
Display name for the alert query. Used in notification titles and as an alert-name fallback when the alert itself has no name.
Example: "Error Rate Query" - whereoptionalstring
Chart-level filter applied on top of every select item's own "where" (combined via AND). Builder variants only; rejected on Raw SQL variants (filter inside the sqlTemplate instead).
maxLength: 10000Example: "ServiceName:api" - whereLanguageoptionalsqlorlucene
Language of the chart-level "where" filter.
- AlertBarChartConfig{ … }
3 properties
- nameoptionalstring
Display name for the alert query. Used in notification titles and as an alert-name fallback when the alert itself has no name.
Example: "Error Rate Query" - whereoptionalstring
Chart-level filter applied on top of every select item's own "where" (combined via AND). Builder variants only; rejected on Raw SQL variants (filter inside the sqlTemplate instead).
maxLength: 10000Example: "ServiceName:api" - whereLanguageoptionalsqlorlucene
Language of the chart-level "where" filter.
3 properties
- nameoptionalstring
Display name for the alert query. Used in notification titles and as an alert-name fallback when the alert itself has no name.
Example: "Error Rate Query" - whereoptionalstring
Chart-level filter applied on top of every select item's own "where" (combined via AND). Builder variants only; rejected on Raw SQL variants (filter inside the sqlTemplate instead).
maxLength: 10000Example: "ServiceName:api" - whereLanguageoptionalsqlorlucene
Language of the chart-level "where" filter.
First notification channel, mirrored from "channels" for pre-multi-channel clients.
1 variants
One of the following:
- AlertChannelWebhook{ … }
2 properties
- typewebhookrequired
Channel type. Must be "webhook" for webhook alerts.
- webhookIdstringrequired
Webhook destination ID.
Example: "65f5e4a3b9e77c001a789012"
All notification channels to trigger when the alert fires or resolves.
1 variants
One of the following:
- AlertChannelWebhook{ … }
2 properties
- typewebhookrequired
Channel type. Must be "webhook" for webhook alerts.
- webhookIdstringrequired
Webhook destination ID.
Example: "65f5e4a3b9e77c001a789012"
401
Unauthorized