/eventMetrics

Returns metrics data indicating the number of occurrences of a given event over time.

Query Params
string
required

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.

date-time

Maximum timestamp to list metrics. Defaults to now.

date-time

Minimum timestamp to list metrics. Defaults to 7 days ago.

string
required

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.

integer
≥ 1
Defaults to 60

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.

Responses

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json