Incidents

List project incidents

Changed on

Returns incidents in the project, ordered from oldest to newest. The time window defaults to the trailing 7 days.

get/v1/projects/{projectSlug}/incidents

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

Query parameters

fromIsostring date-time

Lower bound (inclusive) of the time window. Returns incidents whose lifetime overlaps [fromIso, toIso]. Defaults to 7 days before toIso.

toIsostring date-time

Upper bound (inclusive) of the time window. Defaults to now.

source_type'monitor' | 'signal'

Restrict to incidents triggered by this source type: monitor or signal.

source_idstring

Restrict to incidents tied to one source entity id.

severitiesstring[]

Restrict to incidents whose severity matches any value in this list.

Response

Matching incidents

Changes

    • warning

      added the new urgent enum value to the // response property for the response status

    • info

      added the enum value urgent to the property items/ of the query request parameter severities

    • breaking

      added subschema #3 to the /////// response property oneOf list for the response status

    • breaking

      added subschema #3 to the /////// response property oneOf list for the response status