Skip to content

Alerts

An alert is fired by a monitor state transition or by the Events API. Alerts flow through the escalation policy you assigned to the monitor; each step fans out to notification channels.

MethodPathDescriptionScope
GET/api/v1/alertsList alerts.alerts
GET/api/v1/alerts/{id}Read one.alerts
POST/api/v1/alerts/{id}/ackAcknowledge.alerts
POST/api/v1/alerts/{id}/resolveResolve.alerts
GET/api/v1/alerts/{id}/timelineTimeline events (state changes, acks, notifies).alerts
POST/api/v1/alerts/{id}/create-incidentPromote an alert into an incident.none

create-incident needs a paid plan and a signed-in owner, admin or member. API keys cannot call it.

GET /api/v1/alerts

Returns a bare array, newest started_at first.

Query parameters:

ParameterDescription
statusOne of firing, acknowledged, resolved.
severityOne of critical, warning, info.
monitor_idOnly alerts from this monitor.
limit, offsetPaging; see Conventions.
{
"id": "5d7a3c1e-2f4b-4e6a-9b8c-0e1f2a3b4c5d",
"monitor_id": "6f1c2a9e-0b7d-4c1e-9a53-2f8e1d4b7c60",
"org_id": "8a9b0c1d-2e3f-4a5b-8c6d-7e8f9a0b1c2d",
"status": "acknowledged",
"severity": "critical",
"error": "unexpected status code 503",
"started_at": "2026-04-24T17:42:03Z",
"acknowledged_at": "2026-04-24T17:48:10Z",
"acknowledged_by": "3b0f6c1e-8d2a-4f7e-9c51-6a2e0d9b4f17",
"current_escalation_step": "c4d5e6f7-0a1b-4c2d-8e3f-9a0b1c2d3e4f",
"monitor_name": "Public API"
}

current_escalation_step is the ID of the escalation step the alert has reached. acknowledged_at, acknowledged_by, resolved_at, error, current_escalation_step and incident_id are left out until they have a value. List items add monitor_name. GET /api/v1/alerts/{id} also adds monitor_type, endpoint, runbook_url and service_name when the monitor has them.

POST /api/v1/alerts/{id}/ack

No request body. Sets status to acknowledged, records the caller in acknowledged_by and the time in acknowledged_at, and returns the updated alert. For an API key, acknowledged_by is the user who created the key.

POST /api/v1/alerts/{id}/resolve

No request body. Sets status to resolved and resolved_at, and returns the updated alert.

Monitors with auto-resolve on also resolve their alert when the monitor recovers. You can resolve an alert by hand while its monitor is still failing.

GET /api/v1/alerts/{id}/timeline returns a bare array of events, oldest first:

[
{
"id": "…",
"alert_id": "…",
"event_type": "triggered",
"created_at": "2026-04-24T17:42:03Z"
},
{
"id": "…",
"alert_id": "…",
"event_type": "notified",
"channel": "slack",
"target_user_id": "…",
"created_at": "2026-04-24T17:42:04Z"
},
{
"id": "…",
"alert_id": "…",
"event_type": "ack",
"target_user_id": "…",
"created_at": "2026-04-24T17:48:10Z"
}
]

event_type is one of triggered, notified, ack, escalated and resolved, or, on YipYap Cloud, a reply event from Knative Eventing such as reply.claimed or suppressed. Some events carry a detail object with more context.