Skip to main content
GET
Get Alert

Authorizations

Authorization
string
header
required

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

Path Parameters

alert_id
string
required

Query Parameters

project_id
string | null

Target project for the request. Required when authenticating with a user session token (a user credential is only meaningful scoped to a project); for an API key it is optional and, if given, must match the key's project.

Response

Successful Response

One alert with its full rule: the summary plus filters and gap handling.

aggregation
string
required
alerted_at
string<date-time> | null
required
create_time
string<date-time>
required
creator
string | null
required
filters
AlertFilterItem · object[]
required
id
string
required
last_error
string | null
required
last_error_at
string<date-time> | null
required
last_evaluated_at
string<date-time> | null
required
last_notify_at
string<date-time> | null
required
last_notify_error
string | null
required
last_notify_status
string | null
required
measure
string
required
name
string
required
no_data_mode
string
required
renotify
AlertRenotify · object
required

How often an alert re-notifies while it stays in the alerting state.

Kept a single-level object rather than a discriminated union, matching the request-side shape. The cross-field rule is enforced by a validator instead, so a contradictory stored rule fails the detail read closed rather than passing through half-typed.

severity
string
required
severity_changed_at
string<date-time> | null
required
status
string
required
threshold
number
required
threshold_operator
string
required
update_time
string<date-time>
required
view
string
required
window
string
required