---
title: "Gets event flow data for Sankey-type visualizations.
Builds a chronological sequence of events indicating the path users took through sessions."
method: GET
path: "/adhawk/eventflow"
tags: ["AdHawk"]
---

# Gets event flow data for Sankey-type visualizations.
Builds a chronological sequence of events indicating the path users took through sessions.

`GET /adhawk/eventflow`

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `deviceId` string[]
- `eventName` string[]
- `eventDepthLevel` integer
- `limit` integer

## Response `200`

OK

- AdHawkEventFlow[]
  - `source` string, nullable — Source event name with index suffix (e.g., "Button Click1")
  - `target` string, nullable — Target event name with index suffix (e.g., "Page View2")
  - `value` integer — Count of transitions from source to target
  - `event_index` integer — Position in the event sequence (1 = first transition, 2 = second, etc.)
  - `avg_dwell` number, double, nullable — Average dwell time in seconds between source and target events

---

[API](https://skmtc.net/reveldigital/apis/revel-digital-rest-api.md) · [All operations](https://skmtc.net/reveldigital/apis/revel-digital-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reveldigital/revel-digital-rest-api/versions/f23a94aea621/schema)
