Skip to main content
POST
/
policies
/
get_alerts
List alert rules
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.

Body

application/json

Empty body. The tenant is derived from the caller's JWT.

Response

Alert rule list.

List of alert rules.

rules
object[]
required