List alert rules
List alert rules with optional filters.
get/v1/alert-rules
Request
- Base URLhttps://api.us.poly.ai
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
enabledboolean
metric'turn_latency_p50' | 'turn_latency_p95' | 'api_errors' | 'function_errors' | 'call_crashes' | 'call_volume'
Metric to monitor.
Filter by metric
project_idstring
Filter by project ID
state'ok' | 'alert' | 'no_data' | 'unknown'
Current state of an alert rule.
Filter by current state
Response
Alert rules retrieved successfully.
Example response
{
"data": [
{
"id": "ar_0Kx4mNpQ8rWvYb2dFgHjLs"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.