Create alert rule

Create a new alert rule.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for creating an alert rule.

string
required
length between 1 and 100

Alert rule name

string | null

Simple rule type

string
enum
Defaults to eq
  • eq - eq
  • neq - neq
  • ne - ne
  • lt - lt
  • le - le
  • gt - gt
  • ge - ge
  • contains - contains
  • startswith - startswith
  • endswith - endswith
  • regex - regex
  • in - in
string | null

Comparison value

conditions
object | null

Complex conditions with multiple groups.

string
length between 1 and 200

Rule description

boolean
Defaults to true

Rule enabled status

string
enum
Defaults to info
  • info - info
  • warning - warning
  • critical - critical
Allowed:
date-time | null

Rule activation time

date-time | null

Rule expiration time

string | null

External API to fetch when triggered

integer
0 to 1440
Defaults to 5

Cooldown in minutes before rule can trigger again for same aircraft

string
enum
Defaults to private
  • private - private
  • shared - shared
  • public - public
Allowed:
suppression_windows
array of objects

Time windows when rule should not trigger

suppression_windows
notification_channel_ids
array of integers

IDs of notification channels to use for this rule

notification_channel_ids
boolean
Defaults to true

Also send to global notification URLs from environment

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json