跳转到主要内容
POST
创建告警

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
channel
object
必填
interval
string
必填
示例:

"1h"

source
enum<string>
必填
可用选项:
tile,
search
示例:

"tile"

threshold
number
必填
示例:

100

thresholdType
enum<string>
必填
可用选项:
above,
below
示例:

"above"

dashboardId
string
示例:

"65f5e4a3b9e77c001a567890"

message
string
示例:

"Test Alert Message"

name
string
示例:

"Test Alert"

tileId
string
示例:

"65f5e4a3b9e77c001a901234"

响应

已成功创建告警

data
object
最后修改于 2026年6月29日