AlertRuleCreateRequest
objectFields for creating a new alert rule: which metric to watch, the
threshold condition, and how long it must hold to fire.
Alert rule name
Project ID (optional)
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
Default:true
AlertRuleListResponse
objectEvery alert rule in scope, each with its current state.
An alert rule: its trigger condition, evaluation window, and current state.
Show Child Parameters
AlertRuleResponse
objectAn 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
AlertRuleUpdateRequest
objectUpdate 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
AlertState
Alert state enum
Allowed values:okalertno_dataunknown