Get an incident
get_incidentFetch a full incident by ID, including all alert attempts, to see who acknowledged it and whether notifications were delivered.
Instructions
Read one incident in full, with every alert sent for it. It has id, monitor_id or heartbeat_id (exactly one is set), started_at, resolved_at, cause, cause_detail, last_notified_at, acknowledged_at, acknowledged_by, renotify_count and notification_logs (each alert attempt: id, channel_type, destination, event TRIGGERED, RESOLVED or SSL_EXPIRY, sent_at, status PENDING, SENT or FAILED, and error). Use it to tell who acknowledged an incident and whether its alerts were delivered. destination is an email address, a Telegram chat id, or only scheme://host/… of a webhook. To find incidents use list_incidents; to stop its reminders use acknowledge_incident.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incident_id | Yes | The incident's uuid from list_incidents. An id that is not an incident of this organization is a 404. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cause | Yes | Known values: TIMEOUT, DNS_FAILURE, CONNECTION_REFUSED, TLS_INVALID, HTTP_4XX, HTTP_5XX, HTTP_UNEXPECTED_STATUS, KEYWORD_MISSING, TOO_MANY_REDIRECTS, TARGET_BLOCKED, PORT_STATE_MISMATCH, INVALID_TARGET, HEARTBEAT_MISSED, HEARTBEAT_FAILED, UNKNOWN. | |
| created_at | Yes | ||
| monitor_id | No | ||
| started_at | Yes | ||
| updated_at | Yes | ||
| resolved_at | Yes | ||
| cause_detail | Yes | ||
| heartbeat_id | No | ||
| renotify_count | Yes | ||
| acknowledged_at | Yes | ||
| acknowledged_by | Yes | ||
| last_notified_at | Yes | ||
| notification_logs | No |