ClickStack: Create Alert
This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
ClickStack: Creates a new alert
ClickStack: Creates a new alert
Authorizations
Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path Parameters
ID of the organization that owns the service.
ID of the ClickStack service.
Body
Dashboard ID for tile-based alerts.
"65f5e4a3b9e77c001a567890"
Tile ID for tile-based alerts. Must be a line, stacked bar, or number type tile.
"65f5e4a3b9e77c001a901234"
Saved search ID for saved_search alerts.
"65f5e4a3b9e77c001a345678"
Group-by key for saved search alerts.
"ServiceName"
Threshold value for triggering the alert. For between and not_between threshold types, this is the lower bound.
100
Upper bound for between and not_between threshold types. Required when thresholdType is between or not_between, must be >= threshold.
500
Evaluation interval for the alert.
1m, 5m, 15m, 30m, 1h, 6h, 12h, 1d "1h"
Offset from the interval boundary in minutes. For example, 2 with a 5m interval evaluates windows at :02, :07, :12, etc. (UTC).
2
Absolute UTC start time anchor. Alert windows start from this timestamp and repeat every interval.
"2026-02-08T10:00:00.000Z"
Alert source type (tile-based or saved search).
saved_search, tile "tile"
Threshold comparison direction.
above, below, above_exclusive, below_or_equal, equal, not_equal, between, not_between "above"
- Option 1
- Option 2
Human-friendly alert name.
"Test Alert"
Alert message template.
"Test Alert Message"
Freeform note for the alert. Supports markdown formatting.
"Threshold raised from 50 to 100 on 2026-01-15. See [runbook](https://wiki.example.com/runbook)."
Fire the alert only after its condition has been met for this many consecutive evaluation windows. While the condition is met but fewer than this many consecutive windows have violated, the alert is in the PENDING state.
3