Create an alert rule
Creates a new alert rule for the operator’s organisation. Use the catalog endpoint to discover supported event types and recommended defaults. When condition is omitted, the catalog default for the event type is applied.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
Human-readable name for the rule.
eventType
Event type code the rule listens for. Use the alert-rule catalog endpoint to discover available codes.
condition
Threshold condition that must evaluate true to fire the alert. Omit to use the event-type’s catalog default.
channel
Delivery channel. Defaults to both.
Response
The newly-created alert rule.
data
message
Human-readable acknowledgement.