Alert Details
POST
/alert/infoRequest
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
alert_id
string
Alert ID
Example
{
"alert_id": "string"
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
object (DutyError)
optional
code
enum<string>
Error code
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
Error description
data
object (Alert)
optional
alert_id
string
Alert ID
channel_id
integer
Channel ID
channel_name
string
Channel name
data_source_id
integer
Integration ID
data_source_name
string
Integration name
data_source_type
string
Integration type
data_source_ref_id
string
Integration association ID
title
string
Title
title_rule
string
Title rule
description
string
Description
alert_key
string
Event correlation basis
Alerts with same alert_key will be merged into one alert
alert_severity
enum<string>
Severity
Allowed values:
InfoWarningCritical
alert_status
enum<string>
Alert status
Allowed values:
InfoWarningCriticalOk
progress
enum<string>
Processing progress
Allowed values:
TriggeredProcessingClosed
start_time
integer
First trigger time
Alert may frequently occur and recover, this is the first trigger time
last_time
integer
Last merged event time
Only updated when merging new alert events, different from updated_at
end_time
integer
Alert end time
Updated when alert recovers. For auto-recovery, alert will auto-close and close_time will be updated simultaneously
close_time
integer
Manual closure time
Closure does not affect alert recovery
created_at
integer
Created time
Database record creation time, generally same as start_time
updated_at
integer
Updated time
Database record update time, different from last_time, this field will be updated for both manual and automatic alert updates
labels
object (Labels)
Label list
events
array[object (AlertEvent) {11}]
Associated events
responder_id
integer
Responder ID
incident
object
Associated incident
event_cnt
integer
Cumulative aggregated event count
ever_muted
boolean
Whether has been silenced/inhibited
Example
Not configured
Last modified: 2 个月前