Create a Cluster Alert
Creates a monitoring alert for a cluster node. The alert fires when a metric (trigger_type) crosses trigger_threshold per trigger_operator, and notifies the chosen user groups. The alert configuration is wrapped in a trigger_data object with service_type: "kubernetes" and the target node service_ids.
POST
/api/v1/monitoring/single-service/alerts/Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request.
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the cluster.
- required
- must be a valid region name (e.g., Delhi, Chennai)
example{{location}}
Request body
application/json
The alert definition is wrapped in a trigger_data object.
Responses
200Successful response
example
201example
Created Successfully