Objects
/AlertCreate
AlertCreate
AlertCreate
name
string
Required
Name of the alert for easy identificationevents
array of object
Required
List of events that will trigger the alertkind
integer
Kind of event, more info [here](/docs/api/rest/EventKind)value
string
Value or threshold that triggers the alert
provider
enum
Required
Notification provider for the alert,
slack
orwebhooks
slack
string
webhooks
string
slack_channel_id
string
Slack channel ID where notifications will be sent (required if provider is
slack
)webhook_id
string
Webhook ID where notifications will be sent (required if provider is
webhooks
)
Example
{ "name": "", "events": [ { "kind": 0, "value": "" } ], "provider": "", "slack_channel_id": "", "webhook_id": "", "__UNSAFE_refPath": null }
Built with
Show your support! Star us on GitHub ⭐️