v1

latestSwagger 2.0Apache 2.02026-07-1792314.3 KB
alert

Get a list of alerts

get/alerts

Query parameters

activeboolean

Include active alerts in results. If false, excludes active alerts and returns only suppressed (silenced or inhibited) alerts.

silencedboolean

Include silenced alerts in results. If false, excludes silenced alerts. Note that true (default) shows both silenced and non-silenced alerts.

inhibitedboolean

Include inhibited alerts in results. If false, excludes inhibited alerts. Note that true (default) shows both inhibited and non-inhibited alerts.

unprocessedboolean

Include unprocessed alerts in results. If false, excludes unprocessed alerts. Note that true (default) shows both processed and unprocessed alerts.

filterstring[]

A matcher expression to filter alerts. For example alertname="MyAlert". It can be repeated to apply multiple matchers.

receiverstring

A regex matching receivers to filter alerts by

receiver_matchersstring[]

A matcher expression to filter by receiver labels. For example owner="my-team". Can be repeated to apply multiple matchers.

Response

Get alerts response

annotationsLabelSet required
fingerprintstring required
startsAtstring date-time required
updatedAtstring date-time required
endsAtstring date-time required
labelsLabelSet required
generatorURLstring uri