Skip to content

Trigger history

GET /alerts/{id}/events
  • Scope alerts:read
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Path parameters

  • id string uuid required

Response

200

Events, most recent first

  • data array of AlertEvent always present
    Show 9 attributes Hide attributes
    • id string uuid always present
    • alertId string uuid always present
    • type string always present

      triggered: moisture dropped below the threshold. resolved: it climbed back to the threshold plus the hysteresis.

      Values: triggeredresolved
    • valueAtEvent string always present

      Moisture measured at that instant, %.

    • thresholdAtEvent string always present

      Threshold in force at that instant, %.

    • occurredAt string date-time always present
    • emailSent boolean always present

      The e-mail for this event went out.

    • acknowledgedAt string date-time nullable always present

      Acknowledgement (POST /alerts/{id}/ack): reminders stop. null: not acknowledged.

    • acknowledgedBy string nullable always present

      Who acknowledged: userId of a member.

Errors

  • 401

    Not authenticated

  • 403

    Insufficient scope, or resource outside your company