Get Sessions
List of all sessionsQuery
page
integer
The number of page to start with (default 0, max 10000).size
integer
The number of page's size (default 25, max 100).email
string
The email address that you have associated with a session via identify.
visitor_id
string
The visitor ID.tz
string
IANA timezone. Default Europe/London if RelativeDateString is applied.date_from
ISO 8601 string or RelativeDateString.
date_to
ISO 8601 string or RelativeDateString.
Response
total
integer
Total number of sessions matching the querypage
object
num
integer
Current page numbersize
integer
Number of items per page
sessions
array
List of session objectsid
string
Unique identifier for the sessionwebsite_id
string
ID of the website where the session was recordedsession_url
string
URL to view the session in LiveSession dashboardcreation_timestamp
integer
Unix timestamp when the session was createdduration
integer
Total duration of the session in secondsend_timestamp
integer
Unix timestamp when the session endedactive_time
integer
Total time the user was actively interacting with the page in secondsend_url
string
The last URL visited during the sessionexpiration_timestamp
integer
Unix timestamp when the session recording will expirelast_event_timestamp
integer
Unix timestamp of the last event recorded in the sessionproduct
string
Product identifier associated with the sessiondevice
string
Device type (e.g., desktop, mobile, tablet)tags
array
Custom tags associated with the sessionlast_seen_page_view_id
string
ID of the last page view in the sessionseen
boolean
Whether the session has been viewed in the dashboardreferrer
string
URL where the user came from before starting the sessionstart_url
string
First URL visited during the sessionvisitor_first_session
boolean
Whether this is the visitor's first sessionengagment_score
number
Calculated engagement score for the session (0-100)visitor
object
id
string
Unique identifier for the visitorip
string
IP address of the visitorgeolocation
object
country_code
string
Two-letter country code (ISO 3166-1 alpha-2)city
string
City nameregion
string
Region or state name
name
string
Name of the visitor if identifiedemail
string
Email address of the visitor if identifiedemail_hash
string
Hashed version of the visitor's email for privacyparams
array
Custom parameters associated with the visitorname
string
Parameter namevalue
string
Parameter value
last_session_timestamp
integer
Unix timestamp of the visitor's last sessionfirst_session_timestamp
integer
Unix timestamp of the visitor's first session
resolution
object
height
integer
Screen height in pixelswidth
integer
Screen width in pixelsresolution
string
Screen resolution (e.g., "1920x1080")
os
object
name
string
Operating system name (e.g., Windows, macOS, iOS)version
string
Operating system version
browser
object
description
string
Full browser description stringname
string
Browser name (e.g., Chrome, Firefox, Safari)version
string
Browser version
utm
object
source
string
UTM source parameter (e.g., google, facebook)medium
string
UTM medium parameter (e.g., cpc, social)campaign
string
UTM campaign parameterterm
string
UTM term parameter (search keywords)content
string
UTM content parameter
page_views_statistics
object
count
integer
Total number of page views in the session
events_statistics
object
clicks
integer
Total number of clicks during the sessionerror_clicks
integer
Number of clicks on error elementsrage_clicks
integer
Number of rapid clicks indicating user frustrationerror_logs
integer
Number of JavaScript errors loggednet_errors
integer
Number of network errors encountered
1 {2 "total": 0,3 "page": {4 "num": 0,5 "size": 06 },7 "sessions": [8 {9 "id": "string",10 "website_id": "string",11 "session_url": "string",12 "creation_timestamp": 0,13 "duration": 0,14 "end_timestamp": 0,15 "active_time": 0,16 "end_url": "string",17 "expiration_timestamp": 0,18 "last_event_timestamp": 0,19 "product": "string",20 "device": "string",21 "tags": [22 "string"23 ],24 "last_seen_page_view_id": "string",25 "seen": true,26 "referrer": "string",27 "start_url": "string",28 "visitor_first_session": true,29 "engagment_score": 0,30 "visitor": {31 "id": "string",32 "ip": "string",33 "geolocation": {34 "country_code": "string",35 "city": "string",36 "region": "string"37 },38 "name": "string",39 "email": "string",40 "email_hash": "string",41 "params": [42 {43 "name": "string",44 "value": "string"45 }46 ],47 "last_session_timestamp": 0,48 "first_session_timestamp": 049 },50 "resolution": {51 "height": 0,52 "width": 0,53 "resolution": "string"54 },55 "os": {56 "name": "string",57 "version": "string"58 },59 "browser": {60 "description": "string",61 "name": "string",62 "version": "string"63 },64 "utm": {65 "source": "string",66 "medium": "string",67 "campaign": "string",68 "term": "string",69 "content": "string"70 },71 "page_views_statistics": {72 "count": 073 },74 "events_statistics": {75 "clicks": 0,76 "error_clicks": 0,77 "rage_clicks": 0,78 "error_logs": 0,79 "net_errors": 080 }81 }82 ]83 }