---
title: "GET /eventMetrics"
method: GET
path: "/eventMetrics"
tags: ["Event Metrics"]
---

# GET /eventMetrics

`GET /eventMetrics`

## Request

- Base URL: `https://api.cxxx.eagleeyenetworks.com/api/v3.0`
- URL: `https://api.cxxx.eagleeyenetworks.com/api/v3.0/eventMetrics`
- Auth: HTTP bearer

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

## Query parameters

- `actor` string, required
- `timestamp__lte` string, date-time
- `timestamp__gte` string, date-time
- `eventType` string, required
- `aggregateByMinutes` integer

## Response `200`

OK

- MetricQuery[]
  - `target` string, required
  - `dataPoints` array[], required
    - number[]: First value is unix timestamp in milliseconds. Second value is Metric value as a float.

## Other responses

- `400`: The supplied object is invalid. Error detail will contain the validation error.
- `401`: You are not authenticated. Please authenticate and try again.
- `403`: You have no permission to access the specified resource.
- `404`: Referenced resource could not be found.
- `500`: Something went wrong in the server. Please try again.

---

[API](https://skmtc.dev/eagleeyenetworks/apis/events.md) - [All operations](https://skmtc.dev/eagleeyenetworks/apis/events/llms.txt) - [OpenAPI document](https://skmtc.dev/eagleeyenetworks/apis/events/revisions/3092457362ad?raw)
