Report a bad policy event (AI false positive) and send information for feedback
curl --request POST \
--url https://api2.rhombussystems.com/api/event/reportBadPolicyAlert \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"policyAlert": {
"airQualityIndex": 123,
"airQualityIndexThreshold": 123,
"alertingDwellEvents": [
{
"deviceLabels": [
"<string>"
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"durationSec": 123,
"dwellStartTimeMs": 123,
"locationLabels": [
"<string>"
],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"regionUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailLocation": "<string>",
"thumbnailUri": "<string>",
"timestampMs": 123,
"trackId": 123
}
],
"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>"
}
],
"alertingTrackIds": [
123
],
"cd": "<string>",
"cdn": "<string>",
"ch2oPpb": 123,
"ch2oPpbThreshold": 123,
"clipLocation": {
"region": "<string>"
},
"cllmBooleanValue": true,
"cllmCheckCondition": {
"value": "<string>"
},
"cllmIntegerValue": 123,
"cllmPromptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"co2": 123,
"co2Ppm": 123,
"co2PpmThreshold": 123,
"co2Threshold": 123,
"coConcentration": 123,
"coConcentrationThreshold": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"egressBoundaryDevices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"ethanol": 123,
"ethanolThreshold": 123,
"heatIndexDegF": 123,
"heatIndexDegFThreshold": 123,
"humidityPercent1616": 123,
"humidityPercentThreshold1616": 123,
"humidityPermyriad": 123,
"humidityThresholdPermyriad": 123,
"iaq": 123,
"iaqThreshold": 123,
"inactivityThresholdMs": 123,
"ingressBoundaryDevices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"leakDetected": true,
"maxLuf": 123,
"noxIdx": 123,
"noxIdxThreshold": 123,
"numHumans": 123,
"peopleCountHighThreshold": 123,
"peopleCountLowThreshold": 123,
"pm10p0": 123,
"pm10p0Threshold": 123,
"pm1p0": 123,
"pm1p0Threshold": 123,
"pm25": 123,
"pm25Threshold": 123,
"pm4p0": 123,
"pm4p0Threshold": 123,
"pressure": 123,
"pressureThreshold": 123,
"probeTempC": 123,
"probeTempCThreshold": 123,
"probeTempThreshold": 123,
"relHumid": 123,
"relHumidThreshold": 123,
"tamperByMovementChange": 123,
"tampered": true,
"tempC": 123,
"tempCThreshold": 123,
"tempProbePresent": true,
"temperatureCelsius1616": 123,
"temperatureCelsiusThreshold1616": 123,
"temperaturePermyriad": 123,
"temperatureThresholdPermyriad": 123,
"thcPercent": 123,
"thcPercentThreshold": 123,
"tvoc": 123,
"tvocThreshold": 123,
"vapeDetected": true,
"vapeSmokePercent": 123,
"vapeSmokePercentThreshold": 123,
"vocIdx": 123,
"vocIdxThreshold": 123,
"alertMonitoringThreatCaseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"alertMonitoringVerified": true,
"archived": true,
"clipLocationMap": {},
"clipLocationMapV2": {},
"delayedProcessing": true,
"deleted": true,
"durationSec": 123,
"finalized": true,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"notificationSent": true,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"policyAlertTriggers": [],
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ruleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"saved": true,
"shared": true,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"textDescription": "<string>",
"thumbnailLocation": {
"region": "<string>"
},
"thumbnailLocationV2": "<string>",
"timestampMs": 123,
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/event/reportBadPolicyAlert"
payload = { "policyAlert": {
"airQualityIndex": 123,
"airQualityIndexThreshold": 123,
"alertingDwellEvents": [
{
"deviceLabels": ["<string>"],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"durationSec": 123,
"dwellStartTimeMs": 123,
"locationLabels": ["<string>"],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"regionUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailLocation": "<string>",
"thumbnailUri": "<string>",
"timestampMs": 123,
"trackId": 123
}
],
"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>"
}
],
"alertingTrackIds": [123],
"cd": "<string>",
"cdn": "<string>",
"ch2oPpb": 123,
"ch2oPpbThreshold": 123,
"clipLocation": { "region": "<string>" },
"cllmBooleanValue": True,
"cllmCheckCondition": { "value": "<string>" },
"cllmIntegerValue": 123,
"cllmPromptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"co2": 123,
"co2Ppm": 123,
"co2PpmThreshold": 123,
"co2Threshold": 123,
"coConcentration": 123,
"coConcentrationThreshold": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"egressBoundaryDevices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"ethanol": 123,
"ethanolThreshold": 123,
"heatIndexDegF": 123,
"heatIndexDegFThreshold": 123,
"humidityPercent1616": 123,
"humidityPercentThreshold1616": 123,
"humidityPermyriad": 123,
"humidityThresholdPermyriad": 123,
"iaq": 123,
"iaqThreshold": 123,
"inactivityThresholdMs": 123,
"ingressBoundaryDevices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"leakDetected": True,
"maxLuf": 123,
"noxIdx": 123,
"noxIdxThreshold": 123,
"numHumans": 123,
"peopleCountHighThreshold": 123,
"peopleCountLowThreshold": 123,
"pm10p0": 123,
"pm10p0Threshold": 123,
"pm1p0": 123,
"pm1p0Threshold": 123,
"pm25": 123,
"pm25Threshold": 123,
"pm4p0": 123,
"pm4p0Threshold": 123,
"pressure": 123,
"pressureThreshold": 123,
"probeTempC": 123,
"probeTempCThreshold": 123,
"probeTempThreshold": 123,
"relHumid": 123,
"relHumidThreshold": 123,
"tamperByMovementChange": 123,
"tampered": True,
"tempC": 123,
"tempCThreshold": 123,
"tempProbePresent": True,
"temperatureCelsius1616": 123,
"temperatureCelsiusThreshold1616": 123,
"temperaturePermyriad": 123,
"temperatureThresholdPermyriad": 123,
"thcPercent": 123,
"thcPercentThreshold": 123,
"tvoc": 123,
"tvocThreshold": 123,
"vapeDetected": True,
"vapeSmokePercent": 123,
"vapeSmokePercentThreshold": 123,
"vocIdx": 123,
"vocIdxThreshold": 123,
"alertMonitoringThreatCaseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"alertMonitoringVerified": True,
"archived": True,
"clipLocationMap": {},
"clipLocationMapV2": {},
"delayedProcessing": True,
"deleted": True,
"durationSec": 123,
"finalized": True,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"notificationSent": True,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"policyAlertTriggers": [],
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ruleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"saved": True,
"shared": True,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"textDescription": "<string>",
"thumbnailLocation": { "region": "<string>" },
"thumbnailLocationV2": "<string>",
"timestampMs": 123,
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
policyAlert: {
airQualityIndex: 123,
airQualityIndexThreshold: 123,
alertingDwellEvents: [
{
deviceLabels: ['<string>'],
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
durationSec: 123,
dwellStartTimeMs: 123,
locationLabels: ['<string>'],
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
regionUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
thumbnailLocation: '<string>',
thumbnailUri: '<string>',
timestampMs: 123,
trackId: 123
}
],
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>'
}
],
alertingTrackIds: [123],
cd: '<string>',
cdn: '<string>',
ch2oPpb: 123,
ch2oPpbThreshold: 123,
clipLocation: {region: '<string>'},
cllmBooleanValue: true,
cllmCheckCondition: {value: '<string>'},
cllmIntegerValue: 123,
cllmPromptUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
co2: 123,
co2Ppm: 123,
co2PpmThreshold: 123,
co2Threshold: 123,
coConcentration: 123,
coConcentrationThreshold: 123,
componentUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
egressBoundaryDevices: ['AAAAAAAAAAAAAAAAAAAAAA'],
ethanol: 123,
ethanolThreshold: 123,
heatIndexDegF: 123,
heatIndexDegFThreshold: 123,
humidityPercent1616: 123,
humidityPercentThreshold1616: 123,
humidityPermyriad: 123,
humidityThresholdPermyriad: 123,
iaq: 123,
iaqThreshold: 123,
inactivityThresholdMs: 123,
ingressBoundaryDevices: ['AAAAAAAAAAAAAAAAAAAAAA'],
leakDetected: true,
maxLuf: 123,
noxIdx: 123,
noxIdxThreshold: 123,
numHumans: 123,
peopleCountHighThreshold: 123,
peopleCountLowThreshold: 123,
pm10p0: 123,
pm10p0Threshold: 123,
pm1p0: 123,
pm1p0Threshold: 123,
pm25: 123,
pm25Threshold: 123,
pm4p0: 123,
pm4p0Threshold: 123,
pressure: 123,
pressureThreshold: 123,
probeTempC: 123,
probeTempCThreshold: 123,
probeTempThreshold: 123,
relHumid: 123,
relHumidThreshold: 123,
tamperByMovementChange: 123,
tampered: true,
tempC: 123,
tempCThreshold: 123,
tempProbePresent: true,
temperatureCelsius1616: 123,
temperatureCelsiusThreshold1616: 123,
temperaturePermyriad: 123,
temperatureThresholdPermyriad: 123,
thcPercent: 123,
thcPercentThreshold: 123,
tvoc: 123,
tvocThreshold: 123,
vapeDetected: true,
vapeSmokePercent: 123,
vapeSmokePercentThreshold: 123,
vocIdx: 123,
vocIdxThreshold: 123,
alertMonitoringThreatCaseUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
alertMonitoringVerified: true,
archived: true,
clipLocationMap: {},
clipLocationMapV2: {},
delayedProcessing: true,
deleted: true,
durationSec: 123,
finalized: true,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
notificationSent: true,
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
policyAlertTriggers: [],
policyUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
ruleUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
saved: true,
shared: true,
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
textDescription: '<string>',
thumbnailLocation: {region: '<string>'},
thumbnailLocationV2: '<string>',
timestampMs: 123,
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/event/reportBadPolicyAlert', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/event/reportBadPolicyAlert")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"policyAlert\": {\n \"airQualityIndex\": 123,\n \"airQualityIndexThreshold\": 123,\n \"alertingDwellEvents\": [\n {\n \"deviceLabels\": [\n \"<string>\"\n ],\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"durationSec\": 123,\n \"dwellStartTimeMs\": 123,\n \"locationLabels\": [\n \"<string>\"\n ],\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"regionUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"thumbnailLocation\": \"<string>\",\n \"thumbnailUri\": \"<string>\",\n \"timestampMs\": 123,\n \"trackId\": 123\n }\n ],\n \"alertingEventFaces\": [\n {\n \"faceId\": \"<string>\",\n \"faceName\": \"<string>\",\n \"imageS3Bucket\": \"<string>\",\n \"imageS3Key\": \"<string>\",\n \"imageS3Region\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"personUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n ],\n \"alertingEventVehicles\": [\n {\n \"imageS3Bucket\": \"<string>\",\n \"imageS3Key\": \"<string>\",\n \"imageS3Region\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"licensePlateNumber\": \"<string>\",\n \"vehicleName\": \"<string>\"\n }\n ],\n \"alertingTrackIds\": [\n 123\n ],\n \"cd\": \"<string>\",\n \"cdn\": \"<string>\",\n \"ch2oPpb\": 123,\n \"ch2oPpbThreshold\": 123,\n \"clipLocation\": {\n \"region\": \"<string>\"\n },\n \"cllmBooleanValue\": true,\n \"cllmCheckCondition\": {\n \"value\": \"<string>\"\n },\n \"cllmIntegerValue\": 123,\n \"cllmPromptUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"co2\": 123,\n \"co2Ppm\": 123,\n \"co2PpmThreshold\": 123,\n \"co2Threshold\": 123,\n \"coConcentration\": 123,\n \"coConcentrationThreshold\": 123,\n \"componentUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"egressBoundaryDevices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"ethanol\": 123,\n \"ethanolThreshold\": 123,\n \"heatIndexDegF\": 123,\n \"heatIndexDegFThreshold\": 123,\n \"humidityPercent1616\": 123,\n \"humidityPercentThreshold1616\": 123,\n \"humidityPermyriad\": 123,\n \"humidityThresholdPermyriad\": 123,\n \"iaq\": 123,\n \"iaqThreshold\": 123,\n \"inactivityThresholdMs\": 123,\n \"ingressBoundaryDevices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"leakDetected\": true,\n \"maxLuf\": 123,\n \"noxIdx\": 123,\n \"noxIdxThreshold\": 123,\n \"numHumans\": 123,\n \"peopleCountHighThreshold\": 123,\n \"peopleCountLowThreshold\": 123,\n \"pm10p0\": 123,\n \"pm10p0Threshold\": 123,\n \"pm1p0\": 123,\n \"pm1p0Threshold\": 123,\n \"pm25\": 123,\n \"pm25Threshold\": 123,\n \"pm4p0\": 123,\n \"pm4p0Threshold\": 123,\n \"pressure\": 123,\n \"pressureThreshold\": 123,\n \"probeTempC\": 123,\n \"probeTempCThreshold\": 123,\n \"probeTempThreshold\": 123,\n \"relHumid\": 123,\n \"relHumidThreshold\": 123,\n \"tamperByMovementChange\": 123,\n \"tampered\": true,\n \"tempC\": 123,\n \"tempCThreshold\": 123,\n \"tempProbePresent\": true,\n \"temperatureCelsius1616\": 123,\n \"temperatureCelsiusThreshold1616\": 123,\n \"temperaturePermyriad\": 123,\n \"temperatureThresholdPermyriad\": 123,\n \"thcPercent\": 123,\n \"thcPercentThreshold\": 123,\n \"tvoc\": 123,\n \"tvocThreshold\": 123,\n \"vapeDetected\": true,\n \"vapeSmokePercent\": 123,\n \"vapeSmokePercentThreshold\": 123,\n \"vocIdx\": 123,\n \"vocIdxThreshold\": 123,\n \"alertMonitoringThreatCaseUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"alertMonitoringVerified\": true,\n \"archived\": true,\n \"clipLocationMap\": {},\n \"clipLocationMapV2\": {},\n \"delayedProcessing\": true,\n \"deleted\": true,\n \"durationSec\": 123,\n \"finalized\": true,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"notificationSent\": true,\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"policyAlertTriggers\": [],\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"ruleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"saved\": true,\n \"shared\": true,\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"textDescription\": \"<string>\",\n \"thumbnailLocation\": {\n \"region\": \"<string>\"\n },\n \"thumbnailLocationV2\": \"<string>\",\n \"timestampMs\": 123,\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Event Webservice
Report a bad policy event (AI false positive) and send information for feedback
Report a bad policy event (AI false positive) and send information for feedback. Note: this adds the clip to our AI training data set
POST
/
api
/
event
/
reportBadPolicyAlert
Report a bad policy event (AI false positive) and send information for feedback
curl --request POST \
--url https://api2.rhombussystems.com/api/event/reportBadPolicyAlert \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"policyAlert": {
"airQualityIndex": 123,
"airQualityIndexThreshold": 123,
"alertingDwellEvents": [
{
"deviceLabels": [
"<string>"
],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"durationSec": 123,
"dwellStartTimeMs": 123,
"locationLabels": [
"<string>"
],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"regionUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailLocation": "<string>",
"thumbnailUri": "<string>",
"timestampMs": 123,
"trackId": 123
}
],
"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>"
}
],
"alertingTrackIds": [
123
],
"cd": "<string>",
"cdn": "<string>",
"ch2oPpb": 123,
"ch2oPpbThreshold": 123,
"clipLocation": {
"region": "<string>"
},
"cllmBooleanValue": true,
"cllmCheckCondition": {
"value": "<string>"
},
"cllmIntegerValue": 123,
"cllmPromptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"co2": 123,
"co2Ppm": 123,
"co2PpmThreshold": 123,
"co2Threshold": 123,
"coConcentration": 123,
"coConcentrationThreshold": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"egressBoundaryDevices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"ethanol": 123,
"ethanolThreshold": 123,
"heatIndexDegF": 123,
"heatIndexDegFThreshold": 123,
"humidityPercent1616": 123,
"humidityPercentThreshold1616": 123,
"humidityPermyriad": 123,
"humidityThresholdPermyriad": 123,
"iaq": 123,
"iaqThreshold": 123,
"inactivityThresholdMs": 123,
"ingressBoundaryDevices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"leakDetected": true,
"maxLuf": 123,
"noxIdx": 123,
"noxIdxThreshold": 123,
"numHumans": 123,
"peopleCountHighThreshold": 123,
"peopleCountLowThreshold": 123,
"pm10p0": 123,
"pm10p0Threshold": 123,
"pm1p0": 123,
"pm1p0Threshold": 123,
"pm25": 123,
"pm25Threshold": 123,
"pm4p0": 123,
"pm4p0Threshold": 123,
"pressure": 123,
"pressureThreshold": 123,
"probeTempC": 123,
"probeTempCThreshold": 123,
"probeTempThreshold": 123,
"relHumid": 123,
"relHumidThreshold": 123,
"tamperByMovementChange": 123,
"tampered": true,
"tempC": 123,
"tempCThreshold": 123,
"tempProbePresent": true,
"temperatureCelsius1616": 123,
"temperatureCelsiusThreshold1616": 123,
"temperaturePermyriad": 123,
"temperatureThresholdPermyriad": 123,
"thcPercent": 123,
"thcPercentThreshold": 123,
"tvoc": 123,
"tvocThreshold": 123,
"vapeDetected": true,
"vapeSmokePercent": 123,
"vapeSmokePercentThreshold": 123,
"vocIdx": 123,
"vocIdxThreshold": 123,
"alertMonitoringThreatCaseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"alertMonitoringVerified": true,
"archived": true,
"clipLocationMap": {},
"clipLocationMapV2": {},
"delayedProcessing": true,
"deleted": true,
"durationSec": 123,
"finalized": true,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"notificationSent": true,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"policyAlertTriggers": [],
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ruleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"saved": true,
"shared": true,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"textDescription": "<string>",
"thumbnailLocation": {
"region": "<string>"
},
"thumbnailLocationV2": "<string>",
"timestampMs": 123,
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
}
'import requests
url = "https://api2.rhombussystems.com/api/event/reportBadPolicyAlert"
payload = { "policyAlert": {
"airQualityIndex": 123,
"airQualityIndexThreshold": 123,
"alertingDwellEvents": [
{
"deviceLabels": ["<string>"],
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"durationSec": 123,
"dwellStartTimeMs": 123,
"locationLabels": ["<string>"],
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"regionUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"thumbnailLocation": "<string>",
"thumbnailUri": "<string>",
"timestampMs": 123,
"trackId": 123
}
],
"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>"
}
],
"alertingTrackIds": [123],
"cd": "<string>",
"cdn": "<string>",
"ch2oPpb": 123,
"ch2oPpbThreshold": 123,
"clipLocation": { "region": "<string>" },
"cllmBooleanValue": True,
"cllmCheckCondition": { "value": "<string>" },
"cllmIntegerValue": 123,
"cllmPromptUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"co2": 123,
"co2Ppm": 123,
"co2PpmThreshold": 123,
"co2Threshold": 123,
"coConcentration": 123,
"coConcentrationThreshold": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"egressBoundaryDevices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"ethanol": 123,
"ethanolThreshold": 123,
"heatIndexDegF": 123,
"heatIndexDegFThreshold": 123,
"humidityPercent1616": 123,
"humidityPercentThreshold1616": 123,
"humidityPermyriad": 123,
"humidityThresholdPermyriad": 123,
"iaq": 123,
"iaqThreshold": 123,
"inactivityThresholdMs": 123,
"ingressBoundaryDevices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"leakDetected": True,
"maxLuf": 123,
"noxIdx": 123,
"noxIdxThreshold": 123,
"numHumans": 123,
"peopleCountHighThreshold": 123,
"peopleCountLowThreshold": 123,
"pm10p0": 123,
"pm10p0Threshold": 123,
"pm1p0": 123,
"pm1p0Threshold": 123,
"pm25": 123,
"pm25Threshold": 123,
"pm4p0": 123,
"pm4p0Threshold": 123,
"pressure": 123,
"pressureThreshold": 123,
"probeTempC": 123,
"probeTempCThreshold": 123,
"probeTempThreshold": 123,
"relHumid": 123,
"relHumidThreshold": 123,
"tamperByMovementChange": 123,
"tampered": True,
"tempC": 123,
"tempCThreshold": 123,
"tempProbePresent": True,
"temperatureCelsius1616": 123,
"temperatureCelsiusThreshold1616": 123,
"temperaturePermyriad": 123,
"temperatureThresholdPermyriad": 123,
"thcPercent": 123,
"thcPercentThreshold": 123,
"tvoc": 123,
"tvocThreshold": 123,
"vapeDetected": True,
"vapeSmokePercent": 123,
"vapeSmokePercentThreshold": 123,
"vocIdx": 123,
"vocIdxThreshold": 123,
"alertMonitoringThreatCaseUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"alertMonitoringVerified": True,
"archived": True,
"clipLocationMap": {},
"clipLocationMapV2": {},
"delayedProcessing": True,
"deleted": True,
"durationSec": 123,
"finalized": True,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"notificationSent": True,
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"policyAlertTriggers": [],
"policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ruleUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"saved": True,
"shared": True,
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"textDescription": "<string>",
"thumbnailLocation": { "region": "<string>" },
"thumbnailLocationV2": "<string>",
"timestampMs": 123,
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
policyAlert: {
airQualityIndex: 123,
airQualityIndexThreshold: 123,
alertingDwellEvents: [
{
deviceLabels: ['<string>'],
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
durationSec: 123,
dwellStartTimeMs: 123,
locationLabels: ['<string>'],
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
regionUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
thumbnailLocation: '<string>',
thumbnailUri: '<string>',
timestampMs: 123,
trackId: 123
}
],
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>'
}
],
alertingTrackIds: [123],
cd: '<string>',
cdn: '<string>',
ch2oPpb: 123,
ch2oPpbThreshold: 123,
clipLocation: {region: '<string>'},
cllmBooleanValue: true,
cllmCheckCondition: {value: '<string>'},
cllmIntegerValue: 123,
cllmPromptUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
co2: 123,
co2Ppm: 123,
co2PpmThreshold: 123,
co2Threshold: 123,
coConcentration: 123,
coConcentrationThreshold: 123,
componentUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
egressBoundaryDevices: ['AAAAAAAAAAAAAAAAAAAAAA'],
ethanol: 123,
ethanolThreshold: 123,
heatIndexDegF: 123,
heatIndexDegFThreshold: 123,
humidityPercent1616: 123,
humidityPercentThreshold1616: 123,
humidityPermyriad: 123,
humidityThresholdPermyriad: 123,
iaq: 123,
iaqThreshold: 123,
inactivityThresholdMs: 123,
ingressBoundaryDevices: ['AAAAAAAAAAAAAAAAAAAAAA'],
leakDetected: true,
maxLuf: 123,
noxIdx: 123,
noxIdxThreshold: 123,
numHumans: 123,
peopleCountHighThreshold: 123,
peopleCountLowThreshold: 123,
pm10p0: 123,
pm10p0Threshold: 123,
pm1p0: 123,
pm1p0Threshold: 123,
pm25: 123,
pm25Threshold: 123,
pm4p0: 123,
pm4p0Threshold: 123,
pressure: 123,
pressureThreshold: 123,
probeTempC: 123,
probeTempCThreshold: 123,
probeTempThreshold: 123,
relHumid: 123,
relHumidThreshold: 123,
tamperByMovementChange: 123,
tampered: true,
tempC: 123,
tempCThreshold: 123,
tempProbePresent: true,
temperatureCelsius1616: 123,
temperatureCelsiusThreshold1616: 123,
temperaturePermyriad: 123,
temperatureThresholdPermyriad: 123,
thcPercent: 123,
thcPercentThreshold: 123,
tvoc: 123,
tvocThreshold: 123,
vapeDetected: true,
vapeSmokePercent: 123,
vapeSmokePercentThreshold: 123,
vocIdx: 123,
vocIdxThreshold: 123,
alertMonitoringThreatCaseUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
alertMonitoringVerified: true,
archived: true,
clipLocationMap: {},
clipLocationMapV2: {},
delayedProcessing: true,
deleted: true,
durationSec: 123,
finalized: true,
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
notificationSent: true,
orgUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
policyAlertTriggers: [],
policyUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
ruleUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
saved: true,
shared: true,
subLocationsHierarchyKey: 'AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA',
textDescription: '<string>',
thumbnailLocation: {region: '<string>'},
thumbnailLocationV2: '<string>',
timestampMs: 123,
uuid: 'AAAAAAAAAAAAAAAAAAAAAA'
}
})
};
fetch('https://api2.rhombussystems.com/api/event/reportBadPolicyAlert', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/event/reportBadPolicyAlert")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"policyAlert\": {\n \"airQualityIndex\": 123,\n \"airQualityIndexThreshold\": 123,\n \"alertingDwellEvents\": [\n {\n \"deviceLabels\": [\n \"<string>\"\n ],\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"durationSec\": 123,\n \"dwellStartTimeMs\": 123,\n \"locationLabels\": [\n \"<string>\"\n ],\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"regionUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"thumbnailLocation\": \"<string>\",\n \"thumbnailUri\": \"<string>\",\n \"timestampMs\": 123,\n \"trackId\": 123\n }\n ],\n \"alertingEventFaces\": [\n {\n \"faceId\": \"<string>\",\n \"faceName\": \"<string>\",\n \"imageS3Bucket\": \"<string>\",\n \"imageS3Key\": \"<string>\",\n \"imageS3Region\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"personUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n ],\n \"alertingEventVehicles\": [\n {\n \"imageS3Bucket\": \"<string>\",\n \"imageS3Key\": \"<string>\",\n \"imageS3Region\": \"<string>\",\n \"labels\": [\n \"<string>\"\n ],\n \"licensePlateNumber\": \"<string>\",\n \"vehicleName\": \"<string>\"\n }\n ],\n \"alertingTrackIds\": [\n 123\n ],\n \"cd\": \"<string>\",\n \"cdn\": \"<string>\",\n \"ch2oPpb\": 123,\n \"ch2oPpbThreshold\": 123,\n \"clipLocation\": {\n \"region\": \"<string>\"\n },\n \"cllmBooleanValue\": true,\n \"cllmCheckCondition\": {\n \"value\": \"<string>\"\n },\n \"cllmIntegerValue\": 123,\n \"cllmPromptUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"co2\": 123,\n \"co2Ppm\": 123,\n \"co2PpmThreshold\": 123,\n \"co2Threshold\": 123,\n \"coConcentration\": 123,\n \"coConcentrationThreshold\": 123,\n \"componentUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"egressBoundaryDevices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"ethanol\": 123,\n \"ethanolThreshold\": 123,\n \"heatIndexDegF\": 123,\n \"heatIndexDegFThreshold\": 123,\n \"humidityPercent1616\": 123,\n \"humidityPercentThreshold1616\": 123,\n \"humidityPermyriad\": 123,\n \"humidityThresholdPermyriad\": 123,\n \"iaq\": 123,\n \"iaqThreshold\": 123,\n \"inactivityThresholdMs\": 123,\n \"ingressBoundaryDevices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"leakDetected\": true,\n \"maxLuf\": 123,\n \"noxIdx\": 123,\n \"noxIdxThreshold\": 123,\n \"numHumans\": 123,\n \"peopleCountHighThreshold\": 123,\n \"peopleCountLowThreshold\": 123,\n \"pm10p0\": 123,\n \"pm10p0Threshold\": 123,\n \"pm1p0\": 123,\n \"pm1p0Threshold\": 123,\n \"pm25\": 123,\n \"pm25Threshold\": 123,\n \"pm4p0\": 123,\n \"pm4p0Threshold\": 123,\n \"pressure\": 123,\n \"pressureThreshold\": 123,\n \"probeTempC\": 123,\n \"probeTempCThreshold\": 123,\n \"probeTempThreshold\": 123,\n \"relHumid\": 123,\n \"relHumidThreshold\": 123,\n \"tamperByMovementChange\": 123,\n \"tampered\": true,\n \"tempC\": 123,\n \"tempCThreshold\": 123,\n \"tempProbePresent\": true,\n \"temperatureCelsius1616\": 123,\n \"temperatureCelsiusThreshold1616\": 123,\n \"temperaturePermyriad\": 123,\n \"temperatureThresholdPermyriad\": 123,\n \"thcPercent\": 123,\n \"thcPercentThreshold\": 123,\n \"tvoc\": 123,\n \"tvocThreshold\": 123,\n \"vapeDetected\": true,\n \"vapeSmokePercent\": 123,\n \"vapeSmokePercentThreshold\": 123,\n \"vocIdx\": 123,\n \"vocIdxThreshold\": 123,\n \"alertMonitoringThreatCaseUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"alertMonitoringVerified\": true,\n \"archived\": true,\n \"clipLocationMap\": {},\n \"clipLocationMapV2\": {},\n \"delayedProcessing\": true,\n \"deleted\": true,\n \"durationSec\": 123,\n \"finalized\": true,\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"notificationSent\": true,\n \"orgUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"policyAlertTriggers\": [],\n \"policyUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"ruleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"saved\": true,\n \"shared\": true,\n \"subLocationsHierarchyKey\": \"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA\",\n \"textDescription\": \"<string>\",\n \"thumbnailLocation\": {\n \"region\": \"<string>\"\n },\n \"thumbnailLocationV2\": \"<string>\",\n \"timestampMs\": 123,\n \"uuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Request object for reporting a bad policy alert.
Show child attributes
Show child attributes
Last modified on August 9, 2026
⌘I