---
title: "Get the scan event time series"
method: GET
path: "/scans/{scanId}/statistics/events-over-time"
tags: ["Scans", "Beta"]
---

# Get the scan event time series

`GET /scans/{scanId}/statistics/events-over-time`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/scans/{scanId}/statistics/events-over-time`
- Auth: API key in header `X-ESCAPE-API-KEY`

Returns the number of scanner events per time bucket for a scan. It is a wrapper over the `eventsOverTime` series already embedded in `GET /scans/{scanId}/statistics`, for clients that only need the series. Beta: the shape of a scan time series is not settled yet.

## Path parameters

- `scanId` string, required: The scan ID

## Response `200`

OK

- object
  - `scanId` string, required: The scan ID the series belongs to
  - `data` object[], required
    - `date` string, required: The ISO 8601 start of the time bucket
    - `count` integer, required: The number of scanner events in the bucket

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
