settings

Update Stale Alarm Alert

Field-specific write, same reasoning as update_slow_triage_target. 0 turns the alert off; null reverts to the server default.

put/settings/stale-alarm-alert

Request

  • Base URL
    https://api.verdun.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.verdun.ai/settings/stale-alarm-alert
  • Auth
    HTTP bearer

Request body

stale_alarm_alert_minutesinteger nullable required

Post to Slack when an alarm has waited in the queue this many minutes. 0 turns the alert off; null reverts to the server default.

Example request

{
  "stale_alarm_alert_minutes": 5
}

Response

Successful Response

stale_alarm_alert_minutesinteger nullable

Threshold set in Admin -> Alerts; null when not set there.

default_minutesinteger required

What applies when stale_alarm_alert_minutes is null (SLACK_STALE_ALARM_MINUTES, else 5).

effective_minutesinteger required

The threshold the sweep uses right now. 0 = alert off.

slack_configuredboolean required

Whether SLACK_STALE_ALARM_WEBHOOK_URL (#monitoring-alerts) is set. False = nothing posts whatever the threshold.

Example response

{
  "stale_alarm_alert_minutes": 10,
  "default_minutes": 5,
  "effective_minutes": 10
}

Changes

No recorded changes to this operation across all 2 revisions of this API.