Get threshold crossing events
curl --request POST \
--url https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"devices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"endTimeMs": 1640998800000,
"startTimeMs": 1640995200000
}
'import requests
url = "https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents"
payload = {
"devices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"endTimeMs": 1640998800000,
"startTimeMs": 1640995200000
}
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({
devices: ['AAAAAAAAAAAAAAAAAAAAAA'],
endTimeMs: 1640998800000,
startTimeMs: 1640995200000
})
};
fetch('https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents', 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/report/getThresholdCrossingEvents")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"devices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"endTimeMs\": 1640998800000,\n \"startTimeMs\": 1640995200000\n}")
.asString();{
"deviceToThresholdCrossingEventMap": {},
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Report Webservice
Get threshold crossing events
Get the raw threshold crossing events for a group of cameras over a period of time
POST
/
api
/
report
/
getThresholdCrossingEvents
Get threshold crossing events
curl --request POST \
--url https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"devices": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"endTimeMs": 1640998800000,
"startTimeMs": 1640995200000
}
'import requests
url = "https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents"
payload = {
"devices": ["AAAAAAAAAAAAAAAAAAAAAA"],
"endTimeMs": 1640998800000,
"startTimeMs": 1640995200000
}
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({
devices: ['AAAAAAAAAAAAAAAAAAAAAA'],
endTimeMs: 1640998800000,
startTimeMs: 1640995200000
})
};
fetch('https://api2.rhombussystems.com/api/report/getThresholdCrossingEvents', 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/report/getThresholdCrossingEvents")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"devices\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"endTimeMs\": 1640998800000,\n \"startTimeMs\": 1640995200000\n}")
.asString();{
"deviceToThresholdCrossingEventMap": {},
"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 getting threshold crossing events.
Available options:
HUMAN, VEHICLE, FACE, LPR, POSE, CLIP_EMBED, UNKNOWN List of device UUIDs to get threshold crossing events for
base 64 (url-safe) uuid string
Example:
"AAAAAAAAAAAAAAAAAAAAAA"
End time in milliseconds
Example:
1640998800000
Start time in milliseconds
Example:
1640995200000
Last modified on October 5, 2026