Hand off an incident
Moves the incident's alert plan to its next step now and returns which step is alerted next.
Parameters
| Field | Type | Description |
|---|---|---|
incidentID required | uuid | path parameter |
Body
All other fields5 fields
The alert plan run the alert came from; another run answers 409 stale_alert.
The incident's occurrence the alert was sent for; another occurrence answers 409 stale_alert.
The lap of the alert plan, starting at 0; another lap answers 409 stale_alert.
Where the person acted; kept in the timeline entry. Defaults to web, or app for the upfour app.
The alert-plan step, starting at 1; another step answers 409 stale_alert.
Returns
A successful request returns 200 with application/json.
Response fields 1 top-level fields
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | HandOffResult | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HandOffResult · 33 fields
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 409 | already_acknowledged | Someone else acknowledged the incident first. When: Handing off an acknowledged incident, or acknowledging with the alert fields after another person acknowledged it. details names who and when. Fix: Nothing to do; the person in details.acknowledged_by is on it. |
| 400 | bad_request | The request is malformed or fails validation. |
| 409 | incident_already_open | The monitor already has an open or acknowledged incident. When: Declaring an incident on a monitor that still has an unresolved one. Fix: Open the existing incident instead, or resolve it first and declare a new one. |
| 409 | incident_closed | The incident is resolved. When: Handing off a resolved incident, or acknowledging one with the alert fields. Fix: Nothing to do; the incident is over. |
| 409 | manual_escalation_pending | A manual escalation still waits for its person. When: Handing off while a person the incident was escalated to by hand has not confirmed yet. Fix: Wait for that person or acknowledge the incident. |
| 409 | no_escalation | No alert plan runs for the incident. When: Handing off an incident without a running alert plan (direct alert channels, or a plan that already ended). Fix: Escalate to a person or acknowledge the incident instead. |
| 404 | not_found | The requested resource does not exist or is outside the caller's scope. |
| 403 | permission_denied | The credentials do not permit this action. |
| 409 | stale_alert | The action answers an alert that is no longer current. When: Acknowledging or handing off with incident_occurrence, escalation_id, repeat_iteration or step of an earlier occurrence, step or lap of the incident, or acknowledging a step that was already handed off. Fix: Load the incident again and act on its current alert, or acknowledge without the alert fields. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.