Skip to main content
GET
List one visit's timeline

Authorizations

X-API-Key
string
header
required

Path Parameters

visit_id
string<uuid>
required

The visit's id.

Query Parameters

type
enum<string>[] | null

Only items of this type. Repeat for several.

What one item of a visit's timeline is, by its type.

Available options:
page_view,
navigation,
interaction,
form_field,
request,
browser_check,
detection_update
limit
integer
default:10

Maximum number of records to return in a single page. Must be between 1 and 1000.

Required range: 1 <= x <= 1000
offset
integer | null

Number of records to skip from the beginning. Use 0 for the first page. Cannot be used with cursor.

Required range: x >= 0
cursor
string | null

Opaque pagination cursor token that identifies the position in the result set. Use the cursor from the previous response to get the next page. Cannot be used with offset.

sort
enum<string> | null

occurred_at: when it happened; ties break on record_id. Defaults to occurred_at asc. The field a visit's timeline sorts on.

Available options:
occurred_at
sort_direction
enum<string> | null

asc or desc, for every key of the sort. Defaults to the field's own: occurred_at asc.

Available options:
asc,
desc

Response

The visit's timeline in the requested order.

The visitor viewed a page. Its dwell, visibility and scroll arrive when the page closes, null until then.

record_id
string<uuid>
required

The record's id.

occurred_at
string<date-time>
required

When it happened.

type
string
required
Allowed value: "page_view"
path_template
string | null

The page it happened on, or the request's path, as a template; null when the record names none.

Example:

"/orders/{id}/items"

referrer_origin
string | null

The referring page's scheme and host.

Example:

"https://www.example.com"

dwell_ms
integer | null

How long the page was open.

visible_ms
integer | null

How long it was visible.

max_scroll_pct
integer | null

The furthest it was scrolled.