events
Get tripwire events
Changed onRetrieve tripwire events over a time range, optionally filtered by sensor, place, tripwire, object type, effective status, and result limit.
get/events/tripwire
Request
- Base URLhttps://ai.nvidia.com/api/v3.3/analytics
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
fromTimestampstring date-time required
toTimestampstring date-time required
sensorIdstring
This parameter is incompatible with place. Only one of them can exist in the query.
placestring
This parameter is incompatible with sensorId. Only one of them can exist in the query.
tripwireIdstring
This parameter must be used together with sensorId and it is incompatible with place.
maxResultSizeinteger
objectTypestring
effectiveboolean
This parameter is used to obtain effective/actual set of tripwire events. If effective events are being obtained, then only the latest tripwire event of each object will be retrieved.
Response
Successful Operation.
Example response
{
"tripwireEvents": [
{
"timestamp": "2022-08-25T00:00:00.000Z",
"Id": "logstash generated Id",
"id": "Cam1 #-# 11",
"timeInterval": 30,
"end": "2022-08-25T00:00:30.000Z",
"locations": {
"coordinates": [
[
1
]
]
},
"smoothLocations": {
"coordinates": [
[
1
]
]
},
"speedOverTime": [
2.1,
3.2
],
"sensor": {
"id": "cam-1",
"description": "description of sensor",
"type": "sensor",
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"place": {
"name": "city=abc/building=def/Warehouse=xyz",
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"event": {
"type": "ENTRY",
"id": "hazard_zone_1",
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"object": {
"type": "Person",
"location": {
"lon": 7.5,
"lat": 2.6,
"alt": 9.47
},
"bbox": {
"topY": 0.5,
"rightX": 1.7,
"bottomY": 0.8,
"leftX": 0.6,
"embeddings": [
{
"vector": [
0.1
]
}
],
"confidence": 0.95,
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"id": "133",
"speed": 50,
"coordinate": {
"x": 50,
"y": 50,
"z": 50
},
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"edges": [
"1"
],
"analyticsModule": {
"id": "1",
"description": "description",
"version": "example1",
"source": "source1",
"info": {
"additionalProperty1": "value1",
"additionalProperty2": "value2"
}
},
"videoPath": "path_to_video"
}
]
}Changes
- breaking
the response property
//became optional for the status
- breaking