Skip to content

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

Authorizations

x-auth-apikeystringheaderrequired

Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).

Authorizationstringheader

Instead of an API key, an OAuth access token: Bearer <token>, with the write scope.

OAuth explains tokens and scopes.

Headers

x-auth-schemeenum<string>headerdefault: api-token

Authentication scheme identifier. Use api-token or partner-api-token with the x-auth-apikey header, api or partner-api with x-auth-apikey plus a client certificate, api-oauth-token or partner-api-oauth-token with x-auth-access-token, and federated-token with x-auth-ft. A request with Authorization: Bearer <token> and no x-auth-scheme is treated as OAuth, and federated-token may also be sent as the x-auth-scheme and x-auth-ft query parameters.

Available options: api-token, api, api-oauth-token, federated-token, partner-api-token, partner-api, partner-api-oauth-token

x-auth-orgstring<RUUID>header

Client organization UUID (22-character RUUID), for partner credentials only. With it the call runs in that client organization with the partner support authority's role. Without it a partner credential runs as the partner organization, which outside the partner endpoints is deprecated (responses carry Deprecation and Sunset: Tue, 05 Jan 2027 00:00:00 GMT). A malformed value returns 400 INVALID_AUTH_ORG; a client organization the partner cannot access returns 403 PARTNER_CLIENT_ACCESS_DENIED.

Length: 22 to 22

Body

application/json · object

Request object for reporting a bad policy alert.

policyAlertobject | nullbody
Show child attributes
aiInsightstring | nullbody

Description sized to the aiVerdict (a few words for FALSE, up to a few sentences for HIGH) of what happened and how it compares with recent alerts. Present only with aiVerdict.

aiSummarystring | nullbody

AI-written summary of the alert's video, present only when the organization has AI Alert Summaries turned on. Alert notifications carry it in place of the alert image.

aiTitlestring | nullbody

A few words naming who or what is in the alert's clip and where ("Delivery person at the front door"), written by AI with aiSummary. Notifications lead with it in place of the alert type. Present only with aiSummary.

aiVerdictstring | nullbody

AI risk level of the alert next to its aiSummary: HIGH, MEDIUM, LOW or FALSE (nothing worth looking into), judged against the same camera's and location's recent alerts. Present only with aiSummary.

alertMonitoringThreatCaseUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

archivedboolean | nullbody
clientTypeenum<string>body

Available options: PARTNER_DEVELOPER, DEVELOPER, DOOR_STATION, INTERNAL_SALESFORCE, TVOS, WINDOWS, LINUX, KIOSK, KEYPAD, SQUARE, KISI, OPENPATH, TOAST, BOULEVARD, BRIVO, EXECUTABLE, HALO, SALTO, BUTTERFLYMX, GENEA, PRODATAKEY, ENVOY, AMT, PIMLOC, PLACEOS, OMNIALERT, FLIC, SHELLY_DEVICE_EVENT, NINEONEONECELLULAR, HONEYWELL_ELEMENTS, HONEYWELL_ONGUARD, HONEYWELL_NETBOX, TRITON, CHATBOT, CONSOLE_AGENT, SIGNATURE_API, INCOMING_WEBHOOK, UNKNOWN

clipLocationMapobject | nullbody
Show child attributes
regionstring | nullbody
clipLocationMapV2object | nullbody
deletedboolean | nullbody
durationSecinteger<int32> | nullbody
finalizedboolean | nullbody
locationUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

notificationSentboolean | nullbody
orgUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

policyAlertTriggersenum<string>[] | nullbody
policyUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

ruleUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

savedboolean | nullbody
serverReceivedAtMsinteger<int64> | nullbody
sharedboolean | nullbody
subLocationsHierarchyKeystring<SubLocationsHierarchyKey> | nullbody

A sequence of one or more base 64 (url-safe) uuid substrings. These substrings are separated by dots (.).

Pattern: ^([A-Za-z0-9\-_]{22})([.][A-Za-z0-9\-_]{22})*$

Example: "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA"

textDescriptionstring | nullbody

Natural language description of the alert

thumbnailLocationobjectbody
Show child attributes
regionstring | nullbody
thumbnailLocationV2string | nullbody
timestampMsinteger<int64> | nullbody
typeenum<string>body

Available options: POLICY_ALERT_V2, ACCESS_CONTROLLED_DOOR_POLICY_ALERT

uuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

airQualityIndexinteger<int32> | nullbody
airQualityIndexThresholdinteger<int32> | nullbody
alertingDwellEventsobject[] | nullbody
Show child attributes
activityenum<string>body

Available options: SOUND_LOUD, SOUND_GUN_SHOT, TAMPER, VISUAL_TAMPER, MOTION_TAMPER, MOTION, MOTION_HUMAN, MOTION_CAR, MOTION_ANIMAL, MOTION_PACKAGE, PACKAGE_ARRIVED, PACKAGE_DEPARTED, FACE, FACE_IDENTIFIED, FACE_UNIDENTIFIED, FACE_BLACKLISTED, FACE_ALERT, POSE_ANOMALOUS, POSE_FALL, LICENSEPLATE, LICENSEPLATE_IDENTIFIED, LICENSEPLATE_UNIDENTIFIED, LICENSEPLATE_ALERT, LICENSEPLATE_BLACKLISTED, LICENSEPLATE_TRUSTED, PEOPLECOUNT_HIGH, PEOPLECOUNT_HIGH_RESET, PEOPLECOUNT_LOW, PEOPLECOUNT_LOW_RESET, HUMAN_ENTER, HUMAN_EXIT, CAR_ENTER, CAR_EXIT, TEMPERATURE_EXCEEDED_HIGH, TEMPERATURE_EXCEEDED_LOW, HUMIDITY_EXCEEDED_HIGH, HUMIDITY_EXCEEDED_LOW, PM25_EXCEEDED_HIGH, TVOC_EXCEEDED_HIGH, ETOH_EXCEEDED_HIGH, IAQ_EXCEEDED_HIGH, CO2_EXCEEDED_HIGH, CO2_EXCEEDED_LOW, PROBE_TEMPERATURE_EXCEEDED_HIGH, PROBE_TEMPERATURE_EXCEEDED_LOW, PROBE_DISCONNECTED, PROBE_CONNECTED, HEAT_INDEX_EXCEEDED_HIGH, PRESSURE_EXCEEDED_HIGH, PRESSURE_EXCEEDED_LOW, PM10_EXCEEDED_HIGH, PM40_EXCEEDED_HIGH, PM100_EXCEEDED_HIGH, VOC_IDX_EXCEEDED_HIGH, NOX_IDX_EXCEEDED_HIGH, FORMALDEHYDE_EXCEEDED_HIGH, CARBON_MONOXIDE_EXCEEDED_HIGH, AQI_EXCEEDED_HIGH, DOOR_AJAR, DOOR_OPENED, DOOR_CLOSED, BUTTON_SINGLE_PRESSED, BUTTON_DOUBLE_PRESSED, BUTTON_LONG_PRESSED, TAG_ARRIVED, TAG_DEPARTED, TAG_MOVED, TAG_POSITIONING_CHANGED, TAG_BOUNDARY_INGRESS, TAG_BOUNDARY_EGRESS, TAG_PANIC, BADGE_AUTHORIZED, BADGE_UNAUTHORIZED, BADGE_UNAUTHORIZED_V2, BADGE_AJAR, BADGE_MANUAL, BADGE_FORCED_OPEN, BADGE_LOCKDOWN, BADGE_REQUEST_TO_EXIT, BADGE_DURESS, BADGE_SECURITY_BREACH, BADGE_TAMPER, BADGE_FACE_MISMATCH, POS_ORDER, GUN_DETECT_EVENT, IOT_SOUND_AGGRESSION, IOT_SOUND_HELP, IOT_AIR_CO, IOT_AIR_CO2, IOT_AIR_MASKING, IOT_AIR_THC, IOT_AIR_VAPE, IOT_AIR_VOC, IOT_AIR_TEMP, IOT_TAMPER, IOT_GUNSHOT, IOT_BUTTON_SINGLE_CLICK, IOT_BUTTON_DOUBLE_CLICK, IOT_BUTTON_HOLD, IOT_PANIC_BUTTON_TRIGGERED, AUDIO_SOUND_SIGNIFICANT, AUDIO_SOUND_LOUD, AUDIO_SOUND_ABUSIVE, AUDIO_SOUND_GREETING, AUDIO_SOUND_HELP, AUDIO_SOUND_GUN, AUDIO_SOUND_GLASS_BREAK, AUDIO_SOUND_ALARM_SMOKE_FIRE, AUDIO_SOUND_ALARM_CARBON_MONOXIDE, AUDIO_SOUND_SIREN, CLIMATE_VOC, CLIMATE_VAPE, CLIMATE_SMOKE, CLIMATE_THC, CLIMATE_CO2, CLIMATE_ETOH, CLIMATE_PM25, CLIMATE_IAQ, CLIMATE_LEAK, SOUND_AGGRESSION, SOUND_HELP, AIR_CO, AIR_CO2, AIR_MASKING, AIR_THC, AIR_VAPE, AIR_VOC, MASK_MISSING, HELMET_MISSING, GLOVES_MISSING, PIR_OCCUPIED, PIR_MOVEMENT, PIR_VACANT, CUSTOM, VISITOR_ARRIVED, VISITOR_DEPARTED, AC_DR_CONNECTED, AC_DR_DISCONNECTED, AC_DPI_DOOR_OPEN, AC_DPI_DOOR_CLOSED, AC_DPI_DOOR_AJAR, AC_DPI_DOOR_FORCED_OPEN, AC_DSR_UNLOCKED, AC_DSR_LOCKED, AC_DB_TRIGGERED, AC_PANIC_BUTTON_TRIGGERED, AC_REMOTE_UNLOCK, AC_BADGE_AUTHORIZED, AC_BADGE_UNAUTHORIZED, AC_BADGE_FACE_MISMATCH, AC_LOCKDOWN_ACTIVATED, AC_LOCKDOWN_DEACTIVATED, AC_LOCKDOWN_PLAN_SWITCHED, AC_TAMPER_PROX, AC_TAMPER_ACCEL, AC_TAMPER_SWITCH, AC_GR_ACTIVE, AC_GR_INACTIVE, AC_GI_ACTIVE, AC_GI_INACTIVE, AC_REX_ACTIVE, AC_REX_INACTIVE, AC_APERIO_DEVICE_DISCONNECTED, AC_APERIO_DEVICE_CONNECTED, AC_APERIO_DEVICE_REBOOT, AC_APERIO_DEVICE_TAMPER, AC_APERIO_LOW_BATTERY, AC_APERIO_FLAT_BATTERY, AC_APERIO_OK_BATTERY, AC_SCHLAGE_GW_DISCONNECTED, AC_SCHLAGE_GW_CONNECTED, AC_SCHLAGE_APM_DISCONNECTED, AC_SCHLAGE_APM_CONNECTED, AC_SCHLAGE_LOW_BATTERY, AC_SCHLAGE_CRITICAL_BATTERY, AC_SCHLAGE_OK_BATTERY, POWER_SWITCH_BATTERY, POWER_SWITCH_PRIMARY, AI_SEARCH_MATCH, AI_SEARCH_MATCH_PERSON_SMOKING, AI_SEARCH_MATCH_PERSON_ON_PHONE, AI_SEARCH_MATCH_PERSON_FALLING, AI_SEARCH_MATCH_CUSTOM, CUSTOM_LLM_BOOLEAN_TRUE, CUSTOM_LLM_BOOLEAN_FALSE, CUSTOM_LLM_THRESHOLD_EXCEEDED_LOW, CUSTOM_LLM_THRESHOLD_EXCEEDED_HIGH, ALM_AUTHORITIES_CONTACTED, ALM_MONITORING_ENABLED, ALM_MONITORING_DISABLED, ALM_MONITORING_SETTINGS_CHANGE, ALM_THREAT_CASE_CLOSED, ALM_THREAT_DETECTED, ALM_MONITORING_EVENT_DETECTED, ROBOT_DOG_DETECTED, ROBOT_ARRIVED_AT_WAYPOINT, ROBOT_ARRIVED_AT_POSE, ROBOT_WAITING_AT_POSE, ROBOT_MANUAL_CMD_VEL, ROBOT_MANUAL_ACTION, ROBOT_MANUAL_POSTURE, ROBOT_NAVIGATE_TO_POSE_START, ROBOT_NAVIGATE_TO_POSE_END, ROBOT_NAVIGATE_TO_HOME_START, ROBOT_NAVIGATE_TO_HOME_END, ROBOT_NAVIGATE_TO_WAYPOINT_START, ROBOT_NAVIGATE_TO_WAYPOINT_END, ROBOT_ROUTE_RUN_START, ROBOT_ROUTE_RUN_END, ROBOT_LOW_BATTERY_DOCKING, ROBOT_IDLE_DOCKING, ROBOT_EMERGENCY, LOITER_HUMAN, INACTIVITY_HUMAN, INACTIVITY_CAR, GROUP_ENTRY, ONGUARD_BADGE_AUTHORIZED, ONGUARD_BADGE_ANOMALY, ONGUARD_NO_ENTRY_MADE, ELEMENTS_BADGE_AUTHORIZED, ELEMENTS_BADGE_ANOMALY, ELEMENTS_NO_ENTRY_MADE, NETBOX_BADGE_AUTHORIZED, NETBOX_BADGE_ANOMALY, NETBOX_NO_ENTRY_MADE, THERMAL_TEMPERATURE_ALARM, THERMAL_TEMPERATURE_WARNING, THERMAL_FIRE_DETECTED, THERMAL_SMOKING_DETECTED, THERMAL_FIRE_VERIFIED, THERMAL_HEAT_NO_THREAT, THERMAL_VISUAL_HOTSPOT, THERMAL_VISUAL_HEAT_RISE, THERMAL_VISUAL_WARM_BODY, UNKNOWN

deviceLabelsstring[] | nullbody
deviceUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

durationSecinteger<int32> | nullbody
dwellStartTimeMsinteger<int64> | nullbody
locationLabelsstring[] | nullbody
locationUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

orgUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

regionUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

subLocationsHierarchyKeystring<SubLocationsHierarchyKey> | nullbody

A sequence of one or more base 64 (url-safe) uuid substrings. These substrings are separated by dots (.).

Pattern: ^([A-Za-z0-9\-_]{22})([.][A-Za-z0-9\-_]{22})*$

Example: "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA"

thumbnailLocationstring | nullbody
thumbnailUristring | nullbody
timestampMsinteger<int64> | nullbody
trackIdinteger<int32> | nullbody
alertingEventFacesobject[] | nullbody
Show child attributes
faceIdstring | nullbody
faceNamestring | nullbody
imageS3Bucketstring | nullbody
imageS3Keystring | nullbody
imageS3Regionstring | nullbody
labelsstring[] | nullbody
personUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

alertingEventVehiclesobject[] | nullbody
Show child attributes
imageS3Bucketstring | nullbody
imageS3Keystring | nullbody
imageS3Regionstring | nullbody
labelsstring[] | nullbody
licensePlateNumberstring | nullbody
vehicleNamestring | nullbody
alertingTrackIdsinteger<int32>[] | nullbody
cdstring | nullbody

Custom activity display description, maximum 100 characters

cdnstring | nullbody

Custom activity display name, maximum 32 characters

ch2oPpbnumber<float> | nullbody
ch2oPpbThresholdnumber<float> | nullbody
clipLocationobjectbody
Show child attributes
regionstring | nullbody
cllmBooleanValueboolean | nullbody
cllmCheckConditionobject | nullbody
Show child attributes
operatorenum<string>body

Available options: GT, LT, LTE, GTE, EQ, CONTAINS

valuestring | nullbody
cllmIntegerValueinteger<int32> | nullbody
cllmPromptTypeEnumenum<string>body

Available options: COUNT, PERCENT, BOOLEAN, TEXT

cllmPromptUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

co2number<float> | nullbody
co2Ppminteger<int32> | nullbody
co2PpmThresholdinteger<int32> | nullbody
co2Thresholdnumber<float> | nullbody
coConcentrationnumber<double> | nullbody
coConcentrationThresholdnumber<double> | nullbody
componentUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

customDetectionUuidsstring<RUUID>[] | nullbody
deviceFacetUuidstring<DeviceFacetUuid> | nullbody

RUUID with optional appended facet information

Example: "AAAAAAAAAAAAAAAAAAAAAA.v0"

deviceTypeenum<string>body

Available options: BLE_TRACKER, CAMERA, DOOR_SENSOR, ENVIRONMENTAL_SENSOR, OCCUPANCY_SENSOR, AUDIO_GATEWAY, EXECUTABLE, BADGE_READER, DOOR_CONTROLLER, BLE_BUTTON, IO_BOARD, ENVIRONMENTAL_GATEWAY, NVR, ROBOT, UNKNOWN

deviceUuidstring<RUUID> | nullbody

base 64 (url-safe) uuid string

Example: "AAAAAAAAAAAAAAAAAAAAAA"

egressBoundaryDevicesstring<RUUID>[] | nullbody
ethanolnumber<float> | nullbody
ethanolThresholdnumber<float> | nullbody
heatIndexDegFnumber<double> | nullbody
heatIndexDegFThresholdnumber<double> | nullbody
humidityPercent1616integer<int32> | nullbody
humidityPercentThreshold1616integer<int32> | nullbody
humidityPermyriadinteger<int32> | nullbody
humidityThresholdPermyriadinteger<int32> | nullbody
iaqnumber<float> | nullbody
iaqThresholdnumber<float> | nullbody
inactivityThresholdMsinteger<int64> | nullbody

For INACTIVITY_* alerts, the inactivity threshold configured on the region that fired, in milliseconds. This is the configured threshold, not the elapsed length of the inactivity window.

ingressBoundaryDevicesstring<RUUID>[] | nullbody
leakDetectedboolean | nullbody
maxLufinteger<int32> | nullbody
noxIdxnumber<float> | nullbody
noxIdxThresholdnumber<float> | nullbody
numHumansinteger<int32> | nullbody
peopleCountHighThresholdinteger<int32> | nullbody
peopleCountLowThresholdinteger<int32> | nullbody
pm10p0number<float> | nullbody
pm10p0Thresholdnumber<float> | nullbody
pm1p0number<float> | nullbody
pm1p0Thresholdnumber<float> | nullbody
pm25number<float> | nullbody
pm25Thresholdnumber<float> | nullbody
pm4p0number<float> | nullbody
pm4p0Thresholdnumber<float> | nullbody
pressurenumber<float> | nullbody
pressureThresholdnumber<float> | nullbody
probeTempCnumber<float> | nullbody
probeTempCThresholdnumber<float> | nullbody
probeTempThresholdnumber<float> | nullbody
relHumidnumber<float> | nullbody
relHumidThresholdnumber<float> | nullbody
tamperByMovementChangenumber<float> | nullbody
tamperedboolean | nullbody
tempCnumber<float> | nullbody
tempCThresholdnumber<float> | nullbody
tempProbePresentboolean | nullbody
temperatureCelsius1616integer<int32> | nullbody
temperatureCelsiusThreshold1616integer<int32> | nullbody
temperaturePermyriadinteger<int32> | nullbody
temperatureThresholdPermyriadinteger<int32> | nullbody
thcPercentnumber<float> | nullbody
thcPercentThresholdnumber<float> | nullbody
tvocnumber<float> | nullbody
tvocThresholdnumber<float> | nullbody
vapeDetectedboolean | nullbody
vapeSmokePercentnumber<float> | nullbody
vapeSmokePercentThresholdnumber<float> | nullbody
vocIdxnumber<float> | nullbody
vocIdxThresholdnumber<float> | nullbody

Response

200 OK

application/json · object

Response object for reporting a bad policy alert.

errorboolean | null
errorCodestring | null

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring | null
warningMsgstring | null

Errors

Like every operation, this one can also answer with the standard error body (errorCode, errorMsg). Errors explains each status and how to retry.

  • 400 Bad Request. errorCode is one of: BAD_REQUEST, VALIDATION_FAILED, MISSING_REQUIRED_FIELD, INVALID_JSON, INVALID_REQUEST_BODY, FEATURE_NOT_ENABLED, INVALID_AUTH_ORG, LOCATION_NOT_FOUND, SELF_PROVISIONING_DISABLED, SKU_NOT_ALLOWED, QUANTITY_INVALID, AUTO_RENEW_REQUIRED, PROVISION_CAP_EXCEEDED, ACKNOWLEDGEMENT_REQUIRED, SIGNATURE_REQUIRED, APEX_VALIDATION, SKU_NOT_IN_PRICEBOOK.
  • 401 Unauthorized. errorCode is one of: UNAUTHENTICATED, INVALID_CREDENTIAL, CREDENTIAL_EXPIRED, CREDENTIAL_REVOKED, CERTIFICATE_MISMATCH, OUTSIDE_LOGIN_HOURS, LOGIN_IP_NOT_ALLOWED.
  • 403 Forbidden. errorCode is one of: FORBIDDEN, DOMAIN_NOT_ALLOWED, DEVICE_SCOPE_MISMATCH, ROLE_NOT_PERMITTED, FUNCTIONALITY_REQUIRED, PARTNER_FUNCTIONALITY_REQUIRED, PERMISSION_REQUIRED, PARTNER_CLIENT_ACCESS_DENIED, HARDWARE_NOT_AVAILABLE, HARDWARE_ALREADY_REGISTERED, PARTNER_PORTAL_NOT_ENABLED, MANAGED_BY_MSP, SUPER_ADMIN_RESTRICTED_BY_MSP, MSP_DESIGNATION_INVALID, NOT_MANAGED_CLIENT, NOT_VERIFIED_MSP, ORDER_NOT_YOURS.
  • 429 Too Many Requests. errorCode is one of: RATE_LIMITED, QUOTE_RATE_LIMITED.
  • 500 Internal Server Error. errorCode is one of: INTERNAL_ERROR.
  • 503 Service Unavailable. errorCode is one of: SERVICE_UNAVAILABLE, SALESFORCE_UNAVAILABLE.