Skip to main content
POST
Create an alert rule

Authorizations

oiq_token
string
cookie
required

Query Parameters

tenantId
string

Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$

Body

application/json
name
string
Required string length: 1 - 256
description
string
Maximum string length: 4096
alertType
string
Maximum string length: 32
targetSignal
string
Maximum string length: 64
targetQuery
string
Maximum string length: 8192
condition
string
Maximum string length: 16
threshold
evaluationMins
cooldownMins
severity
string
Maximum string length: 16
channel
string
Maximum string length: 32
channelConfig
sloTarget
burnRateWindow
compositeRules
governanceConfig
runbookUrl
string
Maximum string length: 2048
enabled
boolean

Response

200

Success