/api/v1/notifications
GET /notifications/preferences — list preferences
Returns the user’s notification preferences.Response
The notification channel:
slack, email, or webhook.The type of alerts this preference applies to:
security, cost, compliance, performance, or all.Minimum severity to trigger a notification:
critical, high, medium, low, or all.POST /notifications/preferences — create preference
Creates a new notification preference.Request body
Notification channel:
slack, email, or webhook.Alert type to notify on:
security, cost, compliance, performance, or all.Minimum severity:
critical, high, medium, low, or all.Required for
slack and webhook channels. The destination URL.PUT /notifications/preferences/ — update preference
Updates an existing notification preference.DELETE /notifications/preferences/ — delete preference
Removes a notification preference.204 No Content.
POST /notifications/test — send test notification
Sends a testping event to verify a channel endpoint is reachable.
Request body
The channel type:
slack, email, or webhook.The URL to send the test to. Required for
slack and webhook.GET /notifications/history — list delivery history
Returns recent notification delivery records.Query parameters
Filter by channel:
slack, email, or webhook.Number of days of history to return.
Filter by delivery status:
sent, failed, or pending.