Incidents

One incident with its recorded timeline

What the run was doing, when the failure was declared, which alerts went out and to whom, what was written back, and when it resolved — as an ordered list of recorded events. Nothing is inferred; see IncidentEvent.

get/api/v1/incidents/{id}

Request

  • Base URL: https://app.lastping.dev
  • URL: https://app.lastping.dev/api/v1/incidents/{id}
  • Auth: API key in header X-Api-Key

Response

The incident and its events, oldest first.

incident_idinteger required
check_idstring uuid required
check_slugstring required
check_namestring required
causestring required
opened_atstring date-time required
closed_atstring date-time nullable required
detailstring

Omitted when empty.

run_idstring required

The run the incident is about, recorded when it opened. An empty string means no run was recorded (the monitor never sent /start, or the incident predates run tracking); the timeline then carries no run_started, step or run_* events, which is a fact about the record, not an anomaly.

Changes

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