metrics
Get tripwire counts
Get effective and actual tripwire crossing counts for a sensor over a time range, optionally filtered by tripwire and object type.
get/metrics/tripwire/counts
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 required
tripwireIdstring
objectTypestring
Response
Successful Operation.
Example response
{
"tripwireMetrics": [
{
"id": "tripwire-id-1",
"events": [
{
"type": "IN",
"count": 0,
"actualCount": 18,
"objectType": "Forklift"
},
{
"type": "OUT",
"count": 0,
"actualCount": 18,
"objectType": "Forklift"
},
{
"type": "IN",
"count": 18,
"actualCount": 18,
"objectType": "Person"
},
{
"type": "OUT",
"count": 18,
"actualCount": 18,
"objectType": "Person"
}
]
}
],
"aggregatedMetrics": {
"events": [
{
"type": "IN",
"count": 0,
"actualCount": 18,
"objectType": "Forklift"
},
{
"type": "OUT",
"count": 0,
"actualCount": 18,
"objectType": "Forklift"
},
{
"type": "IN",
"count": 18,
"actualCount": 18,
"objectType": "Person"
},
{
"type": "OUT",
"count": 18,
"actualCount": 18,
"objectType": "Person"
}
]
}
}Changes
No recorded changes to this operation across all 9 revisions of this API.