Skip to main content
GetAlertResponse = object

Description

A single alert

Properties

data

data: object

aggregation

aggregation: string

alert_type

alert_type: "DRIFT" | "AGGREGATE" | "PER_EVENT"

created_at

created_at: string

created_by?

optional created_by?: string | null

description?

optional description?: string | null

event_filters

event_filters: object[]

event_metrics

event_metrics: object[]

frequency

frequency: "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY"

id

id: string

is_active

is_active: boolean

is_muted

is_muted: boolean

last_result?

optional last_result?: object & object | null

last_run_at?

optional last_run_at?: string | null

last_trigger?

optional last_trigger?: object
last_trigger.alert_id
alert_id: string
last_trigger.created_at
created_at: string
last_trigger.id
id: string
last_trigger.muted
muted: boolean
last_trigger.notification_sent
notification_sent: boolean
last_trigger.resolved_by
resolved_by: string | null
last_trigger.resolved_time
resolved_time: string | null
last_trigger.result
result: object & object
Type Declaration
aggregation?
optional aggregation?: string
current_bucket_score?
optional current_bucket_score?: number | boolean
drift_percentage?
optional drift_percentage?: number
event_filters?
optional event_filters?: unknown[]
event_metrics?
optional event_metrics?: unknown[]
last_triggered_baseline?
optional last_triggered_baseline?: number | boolean
previous_bucket_score?
optional previous_bucket_score?: number | boolean
thresholds?
optional thresholds?: object
thresholds.critical
critical: object
thresholds.critical.operator
operator: "greater_than" | "less_than" | "equal_to"
thresholds.critical.value
value: number
thresholds.resolved
resolved: object
thresholds.resolved.operator
operator: "greater_than" | "less_than" | "equal_to"
thresholds.resolved.value
value: number
last_trigger.triggered_time
triggered_time: string
last_trigger.updated_at
updated_at: string

last_trigger_id?

optional last_trigger_id?: string | null

minimum_sample_size

minimum_sample_size: number

name

name: string

notifications?

optional notifications?: object[]

scope_id

scope_id: string

scope_type

scope_type: string

status

status: "ACTIVE" | "TRIGGERED" | "PAUSED" | "RESOLVED"

thresholds

thresholds: object
thresholds.critical
critical: object
thresholds.critical.operator
operator: "greater_than" | "less_than" | "equal_to"
thresholds.critical.value
value: number
thresholds.resolved
resolved: object
thresholds.resolved.operator
operator: "greater_than" | "less_than" | "equal_to"
thresholds.resolved.value
value: number

trigger_error?

optional trigger_error?: string | null

triggers?

optional triggers?: object[]

updated_at?

optional updated_at?: string | null

success

success: true