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

# GET /eventMetrics

`GET /eventMetrics`

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.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/revisions/df57313de545/schema)
