Get an alert rule
Get a single alert rule by its ID.
Documentation Index
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
An API key is a token that you provide when making API calls. Include the token in a header parameter called X-API-KEY.
Path Parameters
The rule_id must be a prefixed ID (e.g. ar_0Kx4mNpQ8rWvYb2dFgHjLs).
^ar_[A-Za-z0-9]+$"ar_0Kx4mNpQ8rWvYb2dFgHjLs"
Response
Alert rule retrieved successfully.
An alert rule: its trigger condition, evaluation window, and current state.
Alert rule ID
^ar_[A-Za-z0-9]+$"ar_0Kx4mNpQ8rWvYb2dFgHjLs"
Alert rule name
Metric being monitored
turn_latency_p50, turn_latency_p95, api_errors, function_errors, call_crashes, call_volume Comparison operator
>, <, >=, <= Threshold value
x >= 0Window duration (5m, 10m, or 60m)
5m, 10m, 60m Whether the alert is enabled
Creation timestamp
Last update timestamp
Project ID
Current alert state
ok, alert, no_data, unknown When the current state started
Last evaluation timestamp
Current metric value

