Create an alert
Creates a project- or workspace-scoped threshold alert. The alert’s query is validated against the selected telemetry source and the evaluation schedule starts immediately when enabled is true. Plan limits apply to the number of alerts and the minimum evaluation interval.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Workspace-unique display name.
"High spend on production"
Metric query evaluated on each tick.
Threshold condition applied to the query result.
Short human-readable summary of what the alert watches.
Project that owns a project alert. Empty for a workspace alert.
UI signal preset the alert is created from. Defaults to custom.
Notifiers that receive trigger-open and trigger-resolve notifications.
Whether the alert starts evaluating immediately. Defaults to true.
Display options for the alert activity chart.
Ownership and telemetry evaluation boundary. Unspecified remains a project alert for compatibility with existing clients.
ALERT_SCOPE_PROJECT, ALERT_SCOPE_WORKSPACE Response
OK
Newly created alert.

