Create Alert Rule

Create a new alert rule.

Simple rules use type/operator/value:

{
    "name": "Low Altitude",
    "type": "altitude",
    "operator": "lt",
    "value": "3000",
    "priority": "warning"
}

Complex rules use conditions with AND/OR logic:

{
    "name": "Military Low Approach",
    "conditions": {
        "logic": "AND",
        "groups": [
            {"logic": "AND", "conditions": [
                {"type": "military", "operator": "eq", "value": "true"},
                {"type": "altitude", "operator": "lt", "value": "5000"}
            ]}
        ]
    },
    "priority": "critical"
}

Operators: eq, ne, lt, gt, le, ge, contains, startswith Priorities: info, warning, critical

Language
Click Try It! to start a request and see the response here!