Skip to main content
POST
/
api
/
climate
/
getEventsForEnvironmentalGateway
Get events for environmental gateway
curl --request POST \
  --url https://api2.rhombussystems.com/api/climate/getEventsForEnvironmentalGateway \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "createdAfterMs": 1640991600000,
  "createdBeforeMs": 1640995200000,
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "lastEvaluatedKey": "<string>",
  "maxPageSize": 50
}
'
{
  "events": [
    {
      "activities": [
        "SOUND_LOUD"
      ],
      "alertTriggerThresholds": [
        123
      ],
      "alertTriggers": [
        "SOUND_LOUD"
      ],
      "carbonMonoSense": {
        "adcRaw": 123,
        "adcVoltage": 123,
        "coConcentration": 123,
        "timestampSec": 123
      },
      "clipMetaData": {
        "activitySeekPoints": {},
        "activitySeekPointsV2": [
          {
            "activity": "SOUND_LOUD",
            "alert": true,
            "bottom": 123,
            "faceName": "<string>",
            "keypointsV2": {},
            "left": 123,
            "licensePlate": "<string>",
            "pose": "<string>",
            "relativeSecond": 123,
            "right": 123,
            "top": 123,
            "unidentifiedFaceId": "<string>",
            "vehicleName": "<string>"
          }
        ],
        "activitySeekPointsV3": [
          {
            "activity": "SOUND_LOUD",
            "alert": true,
            "customActivityColor": "BLUE",
            "customActivityDescription": "<string>",
            "customActivityDisplayName": "<string>",
            "dcao": true,
            "faceName": "<string>",
            "id": 123,
            "inMotion": true,
            "licensePlate": "<string>",
            "loudness": 123,
            "pose": "<string>",
            "relativeSecond": 123,
            "sensorValType": {
              "sensorBoolean": true,
              "sensorDouble": 123,
              "sensorLong": 123
            },
            "toastOrderIdInfo": {
              "employeeName": "<string>",
              "guid": "<string>",
              "locationName": "<string>",
              "restaurantName": "<string>",
              "toastCheckInfo": {
                "totalAmount": 123
              }
            },
            "tu": "<string>",
            "unidentifiedFaceId": "<string>",
            "vehicleName": "<string>"
          }
        ],
        "boundingBoxes": [
          {
            "activity": "SOUND_LOUD",
            "alert": true,
            "bottom": 123,
            "confidence": 123,
            "croppedImageLocator": "<string>",
            "customActivityColor": "BLUE",
            "customActivityDescription": "<string>",
            "customActivityDisplayName": "<string>",
            "faceName": "<string>",
            "inMotion": true,
            "keypointsV2": {},
            "left": 123,
            "licensePlate": "<string>",
            "loudness": 123,
            "objectId": 123,
            "pose": "<string>",
            "relativeSecond": 123,
            "right": 123,
            "sensorValType": {
              "sensorBoolean": true,
              "sensorDouble": 123,
              "sensorLong": 123
            },
            "toastOrderIdInfo": {
              "employeeName": "<string>",
              "guid": "<string>",
              "locationName": "<string>",
              "restaurantName": "<string>",
              "toastCheckInfo": {
                "totalAmount": 123
              }
            },
            "top": 123,
            "unidentifiedFaceId": "<string>",
            "vehicleName": "<string>"
          }
        ],
        "clipLocation": {
          "region": "<string>"
        },
        "durationSec": 123,
        "mGrids": [
          "<string>"
        ],
        "soundSignificantLufs": [
          123
        ],
        "startTime": 123,
        "thumbnailLocation": {
          "region": "<string>"
        },
        "thumbnailLocationV2": "<string>"
      },
      "co2Sense": {
        "co2Ppm": 123,
        "relHumid": 123,
        "tempC": 123,
        "timestampSec": 123
      },
      "derivedValues": {
        "airQualityIndex": 123,
        "airQualityIndexPollutant": "OZONE",
        "calibrating": true,
        "deviceOrientation": "CEILING",
        "falsePositiveConfidencePercent": 123,
        "heatIndexDegF": 123,
        "heatIndexRangeWarning": "HEAT_INDEX_OK",
        "indoorAirQuality": 123,
        "malfunctioningModules": [
          "<string>"
        ],
        "smokeConfidencePercent": 123,
        "smokeThcConfidencePercent": 123,
        "smokeTobaccoConfidencePercent": 123,
        "timestampSec": 123,
        "tvoc": 123,
        "vapeConfidencePercent": 123,
        "vapeDetected": true,
        "vapeThcConfidencePercent": 123
      },
      "deviceType": "BLE_TRACKER",
      "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "firmwareVersion": "<string>",
      "formaSense": {
        "ch2oPpb": 123,
        "relHumid": 123,
        "tempC": 123,
        "timestampSec": 123
      },
      "hwVariation": "RASPBERRY_PI_3",
      "leakProbe": {
        "adcMv": 123,
        "adcRaw": 123,
        "leakDetected": true,
        "moistDetected": true,
        "present": true,
        "timestampSec": 123
      },
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "pmSense": {
        "nc0p5": 123,
        "nc10p0": 123,
        "nc1p0": 123,
        "nc2p5": 123,
        "nc4p0": 123,
        "noxIdx": 123,
        "pm10p0": 123,
        "pm1p0": 123,
        "pm2p5": 123,
        "pm4p0": 123,
        "relHumid": 123,
        "tempC": 123,
        "timestampSec": 123,
        "typPartSize": 123,
        "vocIdx": 123
      },
      "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "pressSense": {
        "pressure": 123,
        "tempC": 123,
        "timestampSec": 123
      },
      "tempProbe": {
        "adcMv": 123,
        "adcRaw": 123,
        "present": true,
        "tempC": 123,
        "timestampSec": 123
      },
      "timestampMs": 123,
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ],
  "lastEvaluatedKey": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to retrieve events for an environmental gateway.

createdAfterMs
integer<int64> | null

Timestamp in milliseconds after which events should be retrieved

Example:

1640991600000

createdBeforeMs
integer<int64> | null

Timestamp in milliseconds before which events should be retrieved

Example:

1640995200000

deviceUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

lastEvaluatedKey
string | null
maxPageSize
integer<int32> | null

Maximum number of results to return per page

Example:

50

Response

200 - application/json

OK

Response containing events for an environmental gateway.

events
object[] | null

List of climate events for the environmental gateway

lastEvaluatedKey
string | null