Alerts
List alerts
Permission
alerts:readAuthenticationGET
Team-scoped Alerts operation. Rule percentages use eligible invocations or processing attempts, not affected calls. An open incident emits one firing and one confirmed-recovery notification per selected member. Empty or stale windows never resolve an incident. Preview uses recent observations without notifications.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerRange
1 <= value <= 200Default
50Successful Alerts operation
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.kejue.co/v1/alerts'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "name": "string", "definition": { "min_coverage_percent": 80, "metric": "tool_5xx", "campaign_ids": [ "3e7ba4c0-66cf-49db-b351-57800273b6f0" ], "failure_codes": [ "provider_busy" ], "aggregation": "rate", "severity": "warning", "resource_keys": [ "string" ], "agent_ids": [ "06fc211d-6a87-43c8-9a41-e3b40320420d" ], "window_minutes": 5, "threshold": 0, "recovery_threshold": 0, "min_samples": 1, "fire_for_minutes": 0, "recover_for_minutes": 0, "recipient_ids": [ "bfa6ab48-642a-4965-a829-f20c353d1c93" ], "include_tests": true, "field": "string", "operator": "eq", "expected": "string" }, "enabled": true, "resource_version": 0, "state": "healthy", "value": 0, "numerator": 0, "denominator": 0, "breach_since": "2019-08-24T14:15:22Z", "recovery_since": "2019-08-24T14:15:22Z", "evaluated_at": "2019-08-24T14:15:22Z", "last_error": "string", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}