Skip to navigation

Get alerts

View as Markdown

Retrieve alerts using optional sensor, place, object, time-range, query-string, VLM-verification, and result-limit filters.

Query parameters

sensorIdstringOptionalformat: "^.{0,10000}$"<=10000 characters
This parameter is incompatible with place. Only one of them can exist in the query.
placestringOptionalformat: "^.{0,10000}$"<=10000 characters
This parameter is incompatible with sensorId. Only one of them can exist in the query.
objectIdstringOptionalformat: "^.{0,10000}$"<=10000 characters
This parameter is incompatible with either 'place' or 'queryString'. It also requires 'sensorId', 'fromTimestamp' and 'toTimestamp' in the query.
fromTimestampdatetimeOptional
If this parameter is present in the query, then 'toTimestamp' should also be present in the query.
toTimestampdatetimeOptional
If this parameter is present in the query, then 'fromTimestamp' should also be present in the query.
objectTypestringOptionalformat: "^.{0,10000}$"<=10000 characters
queryStringstringOptionalformat: "^.{0,10000}$"<=10000 characters
'queryString' should follow lucene syntax.
maxResultSizelongOptional1-1000Defaults to 25
vlmVerifiedbooleanOptionalDefaults to false
Set to true to retrieve VLM verified alerts.
vlmVerdictenumOptionalDefaults to all
Filter alerts by VLM verdict. Can only be provided when vlmVerified is true.
Allowed values:

Response headers

Access-Control-Allow-OriginstringOptionalformat: "^.{0,10000}$"<=10000 characters

CORS header to allow cross-origin requests.

X-RateLimit-LimitintegerOptional
The maximum number of requests allowed in the current time period.
X-RateLimit-RemainingintegerOptional
The number of requests remaining in the current time period.
X-RateLimit-ResetintegerOptional

The time when the rate limit will be reset (Unix timestamp).

Response

Successful Operation.
alertslist of objects
timestampdatetime
Idstringformat: "^.{0,10000}$"<=10000 characters
idstringformat: "^.{0,10000}$"<=10000 characters
timeIntervalfloat
enddatetime
lengthlong-10000-10000
speedOverTimelist of doubles
sensorobject
placeobject
objectobject
directionenum
speeddouble
distancedouble
bearingdouble
videoPathstringformat: "^.{0,10000}$"<=10000 characters
locationsobjectOptional
smoothLocationsobjectOptional
eventobjectOptional
edgeslist of stringsOptional
analyticsModuleobjectOptional

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error