Incidents

Resolve incident

Changed on

Resolves (closes) an ongoing incident. An already-closed incident is returned unchanged. If the incident's condition triggers again, a new incident will be opened.

post/v1/projects/{projectSlug}/incidents/{incidentId}

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.

incidentIdstring required

Incident identifier.

Response

Resolved incident

idstring required

Stable incident identifier.

organizationIdstring required

Organization that owns this incident.

projectIdstring required

Project this incident belongs to.

sourceType'monitor' | 'signal' required

Kind of entity that triggered the incident: signal or monitor.

sourceIdstring required

Id of the entity that triggered the incident (matches sourceType).

severity'low' | 'medium' | 'high' | 'urgent' required

Severity bucket assigned to the incident: low, medium, high, or urgent.

startedAtstring required

ISO-8601 timestamp at which the incident opened.

endedAtstring nullable required

ISO-8601 timestamp at which the incident closed, or null if still open.

createdAtstring required

ISO-8601 timestamp at which the incident row was created.

Changes

    • warning

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

    • 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