Update Alert Rule
Update an alert rule (partial updates).
Supports partial updates of alert rule attributes.
Path Parameters
Body
application/json
Body
AlertRuleUpdateRequest
Update alert rule request (PATCH - partial updates)
Alert rule name
Project ID
Metric to monitor
Allowed values:turn_latency_p50turn_latency_p95api_errorsfunction_errorscall_crashescall_volume
Comparison operator
Allowed values:><>=<=
Threshold value
>= 0
Window duration (5m, 10m, or 60m)
Allowed values:5m10m60m
Whether the alert is enabled
Response
application/json
Response
Successful Response
AlertRuleResponse
An alert rule: its trigger condition, evaluation window, and current state.
Alert rule ID
Alert rule name
Project ID
Metric being monitored
Comparison operator
Threshold value
Window duration (5m, 10m, or 60m)
Whether the alert is enabled
Current alert state
When the current state started
Last evaluation timestamp
Current metric value
Creation timestamp
Last update timestamp
Authentication
Path Parameters
Body
Get Active Alerts
Get active alerts (rules currently in ALERT state).
Returns only alert rules that are currently in ALERT state.
Query params:
- project_id: Filter by project ID (optional)
- metric: Filter by metric type (optional)
Query Parameters
Filter by project ID
Filter by metric
Allowed values:turn_latency_p50turn_latency_p95api_errorsfunction_errorscall_crashescall_volume
Response
application/json
Response
Successful Response
ActiveAlertsListResponse
Every rule currently in the triggered state.
A rule currently in the triggered state, including when it first
crossed the threshold.
Show Child Parameters
Authentication
Query Parameters
ActiveAlertResponse
objectA rule currently in the triggered state, including when it first
crossed the threshold.
Alert rule ID
Alert rule name
Project ID
Metric being monitored
Comparison operator
Threshold value
Window duration (5m, 10m, or 60m)
When the alert started
Last evaluation timestamp
Current metric value
ActiveAlertsListResponse
objectEvery rule currently in the triggered state.
A rule currently in the triggered state, including when it first
crossed the threshold.
Show Child Parameters
AlertMetric
Alert metric enum
Allowed values:turn_latency_p50turn_latency_p95api_errorsfunction_errorscall_crashescall_volume