v1
latestOpenAPI 3.0.32026-07-24214879985.1 KBReturns metrics data indicating the number of occurrences of a given event over time.
Query parameters
The actor for which the metrics are to be retrieved. The actor type has to be prefixed along with actor id like actorType:actorId. For example, to get the metrics for camera with id 100d4c41, the actor that has to be used is camera:100d4c41.
Maximum timestamp to list auditlogs.
Minimum timestamp to list auditlogs.
The type of event that will be counted. The set of all possible types can be found using the /eventTypes API. Only a single event type can be specified.
The time interval, in minutes, for grouping the event metrics. It specifies the granularity of the time buckets used for aggregating event metrics. It defaults to 60 minutes (1 hour) if not specified.
Response
OK
Example response
[
{
"target": "bandwidth",
"dataPoints": [
[
1557385723416,
2.5
],
[
1557385731634,
3.5
]
]
}
]