Incidents

The following endpoints refer to Incidents.

📘

Industrial license

Incidents are only available for accounts with an Industrial license or higher. In accounts without it, the endpoints return 402 Payment Required to the account Owner and 403 Forbidden to any other user. Please contact [email protected] for further information.

An Incident records a problem that needs attention: a device or variable that crossed a condition, tracked from the moment it is triggered until someone resolves it. Incidents are created in two ways:

  • Automatically, by an Event with an Incident action. These have source automatic.
  • Manually, through the Create Incident endpoint or the Ubidots app. These have source manual.

Each Incident keeps a history of Logs: state changes, comments, severity changes and assignment changes.

States

An Incident moves through three states:

StateDescriptionCan move to
triggeredThe Incident was created and nobody has acknowledged it yetacknowledged, resolved
acknowledgedSomeone is working on the Incidentresolved
resolvedThe Incident is closed. This state is final—

Sending the current state is a no-op; any other transition returns 400 Bad Request with the detail State transition not allowed: <FROM> → <TO>.

There are three ways to acknowledge a triggered Incident:

Severity

Severity goes from p0 (most severe) to p4 (least severe). Manual Incidents default to p3.

Access

  • The account Owner and Admins see every Incident of the account.
  • An End User sees only the Incidents of their organizations, or whose Event belongs to one of their organizations.
  • Incidents have no label: every endpoint uses the Incident id as its key.
  • Every route accepts the path with or without a trailing slash.