Skip to main content
POST
/
api
/
event
/
getPolicyAlerts
Get recent policy alerts for organization
curl --request POST \
  --url https://api2.rhombussystems.com/api/event/getPolicyAlerts \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "accessControlledDoorFilter": [
    "AAAAAAAAAAAAAAAAAAAAAA"
  ],
  "afterTimestampMs": 1640995200000,
  "beforeTimestampMs": 1641081600000,
  "deviceFilter": [
    "AAAAAAAAAAAAAAAAAAAAAA"
  ],
  "lastTimestampMs": 1640995200000,
  "lastUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "locationFilter": [
    "AAAAAAAAAAAAAAAAAAAAAA"
  ],
  "maxResults": 100
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "policyAlerts": [
    {
      "airQualityIndex": 123,
      "airQualityIndexThreshold": 123,
      "alertMonitoringThreatCaseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "alertMonitoringVerified": true,
      "alertingEventFaces": [
        {
          "faceId": "<string>",
          "faceName": "<string>",
          "imageS3Bucket": "<string>",
          "imageS3Key": "<string>",
          "imageS3Region": "<string>",
          "labels": [
            "<string>"
          ],
          "personUuid": "AAAAAAAAAAAAAAAAAAAAAA"
        }
      ],
      "alertingEventVehicles": [
        {
          "imageS3Bucket": "<string>",
          "imageS3Key": "<string>",
          "imageS3Region": "<string>",
          "labels": [
            "<string>"
          ],
          "licensePlateNumber": "<string>",
          "vehicleName": "<string>"
        }
      ],
      "cd": "<string>",
      "cdn": "<string>",
      "ch2oPpb": 123,
      "ch2oPpbThreshold": 123,
      "clipLocation": {
        "region": "<string>"
      },
      "clipLocationMap": {},
      "clipLocationMapV2": {},
      "cllmBooleanValue": true,
      "cllmCheckCondition": {
        "operator": "GT",
        "value": "<string>"
      },
      "cllmIntegerValue": 123,
      "cllmPromptTypeEnum": "COUNT",
      "cllmPromptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "co2": 123,
      "co2Ppm": 123,
      "co2PpmThreshold": 123,
      "co2Threshold": 123,
      "coConcentration": 123,
      "coConcentrationThreshold": 123,
      "componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "delayedProcessing": true,
      "deleted": true,
      "deviceType": "BLE_TRACKER",
      "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "durationSec": 123,
      "egressBoundaryDevices": [
        "AAAAAAAAAAAAAAAAAAAAAA"
      ],
      "ethanol": 123,
      "ethanolThreshold": 123,
      "finalized": true,
      "heatIndexDegF": 123,
      "heatIndexDegFThreshold": 123,
      "humidityPercent1616": 123,
      "humidityPercentThreshold1616": 123,
      "humidityPermyriad": 123,
      "humidityThresholdPermyriad": 123,
      "iaq": 123,
      "iaqThreshold": 123,
      "ingressBoundaryDevices": [
        "AAAAAAAAAAAAAAAAAAAAAA"
      ],
      "leakDetected": true,
      "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "maxLuf": 123,
      "notificationSent": true,
      "noxIdx": 123,
      "noxIdxThreshold": 123,
      "numHumans": 123,
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "peopleCountHighThreshold": 123,
      "peopleCountLowThreshold": 123,
      "pm10p0": 123,
      "pm10p0Threshold": 123,
      "pm1p0": 123,
      "pm1p0Threshold": 123,
      "pm25": 123,
      "pm25Threshold": 123,
      "pm4p0": 123,
      "pm4p0Threshold": 123,
      "policyAlertTriggers": [
        "SOUND_LOUD"
      ],
      "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "pressure": 123,
      "pressureThreshold": 123,
      "probeTempC": 123,
      "probeTempCThreshold": 123,
      "probeTempThreshold": 123,
      "relHumid": 123,
      "relHumidThreshold": 123,
      "saved": true,
      "shared": true,
      "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
      "tamperByMovementChange": 123,
      "tampered": true,
      "tempC": 123,
      "tempCThreshold": 123,
      "tempProbePresent": true,
      "temperatureCelsius1616": 123,
      "temperatureCelsiusThreshold1616": 123,
      "temperaturePermyriad": 123,
      "temperatureThresholdPermyriad": 123,
      "textDescription": "<string>",
      "thcPercent": 123,
      "thcPercentThreshold": 123,
      "thumbnailLocation": {
        "region": "<string>"
      },
      "thumbnailLocationV2": "<string>",
      "timestampMs": 123,
      "tvoc": 123,
      "tvocThreshold": 123,
      "type": "POLICY_ALERT_V2",
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "vapeDetected": true,
      "vapeSmokePercent": 123,
      "vapeSmokePercentThreshold": 123,
      "vocIdx": 123,
      "vocIdxThreshold": 123
    }
  ],
  "warningMsg": "<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 object for retrieving policy alerts with filtering and pagination options.

accessControlledDoorFilter
(string<RUUID> | null)[] | null

Filter including chosen Access Controlled Doors

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

afterTimestampMs
integer<int64> | null

Enter starting timestamp interval in UNIX ms

Example:

1640995200000

beforeTimestampMs
integer<int64> | null

Enter ending timestamp interval in UNIX ms

Example:

1641081600000

deviceFilter
(string<RUUID> | null)[] | null

Filter including chosen Devices

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

lastTimestampMs
integer<int64> | null

Search with last known TimestampMs (Required for Pagination)

Example:

1640995200000

lastUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

locationFilter
(string<RUUID> | null)[] | null

Filter any locations you would like to include

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

maxResults
integer<int32> | null

Set a max result limit

Example:

100

Response

200 - application/json

OK

Response object containing a list of policy alerts.

error
boolean | null
errorMsg
string | null
policyAlerts
object[] | null

List of policy alerts matching the request criteria

List of policy alerts matching the request criteria

warningMsg
string | null