Lists alert rules for a tenant. Alert rules define conditions under which the platform sends notifications — e.g., when a message enters input-required, when an agent goes unhealthy, or when a policy violation occurs.
curl --request POST \
--url https://api.svantic.com/policies/get_alerts \
--header 'Content-Type: application/json' \
--data '{}'{
"rules": [
{
"rule_id": "<string>",
"tenant_id": "<string>",
"name": "Approval needed",
"condition": {
"event": "message.input_required",
"filters": {}
},
"notifications": [
{
"type": "webhook",
"config": {},
"enabled": true
}
],
"enabled": true,
"description": "Notify when a message needs human input.",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.svantic.com/llms.txt
Use this file to discover all available pages before exploring further.
Empty body. The tenant is derived from the caller's JWT.
Alert rule list.
List of alert rules.
Show child attributes
curl --request POST \
--url https://api.svantic.com/policies/get_alerts \
--header 'Content-Type: application/json' \
--data '{}'{
"rules": [
{
"rule_id": "<string>",
"tenant_id": "<string>",
"name": "Approval needed",
"condition": {
"event": "message.input_required",
"filters": {}
},
"notifications": [
{
"type": "webhook",
"config": {},
"enabled": true
}
],
"enabled": true,
"description": "Notify when a message needs human input.",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}