API

Get Sessions

List of all sessions

Query

  • 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
  • date_to

Response

  • total
    integer
    Total number of sessions matching the query
    • page
      object
      • num
        integer
        Current page number
        • size
          integer
          Number of items per page
        • sessions
          array
          List of session objects
          • id
            string
            Unique identifier for the session
            • website_id
              string
              ID of the website where the session was recorded
              • session_url
                string
                URL to view the session in LiveSession dashboard
                • creation_timestamp
                  integer
                  Unix timestamp when the session was created
                  • duration
                    integer
                    Total duration of the session in seconds
                    • end_timestamp
                      integer
                      Unix timestamp when the session ended
                      • active_time
                        integer
                        Total time the user was actively interacting with the page in seconds
                        • end_url
                          string
                          The last URL visited during the session
                          • expiration_timestamp
                            integer
                            Unix timestamp when the session recording will expire
                            • last_event_timestamp
                              integer
                              Unix timestamp of the last event recorded in the session
                              • product
                                string
                                Product identifier associated with the session
                                • device
                                  string
                                  Device type (e.g., desktop, mobile, tablet)
                                  • tags
                                    array
                                    Custom tags associated with the session
                                    • last_seen_page_view_id
                                      string
                                      ID of the last page view in the session
                                      • seen
                                        boolean
                                        Whether the session has been viewed in the dashboard
                                        • referrer
                                          string
                                          URL where the user came from before starting the session
                                          • start_url
                                            string
                                            First URL visited during the session
                                            • visitor_first_session
                                              boolean
                                              Whether this is the visitor's first session
                                              • engagment_score
                                                number
                                                Calculated engagement score for the session (0-100)
                                                • visitor
                                                  object
                                                  • id
                                                    string
                                                    Unique identifier for the visitor
                                                    • ip
                                                      string
                                                      IP address of the visitor
                                                      • geolocation
                                                        object
                                                        • country_code
                                                          string
                                                          Two-letter country code (ISO 3166-1 alpha-2)
                                                          • city
                                                            string
                                                            City name
                                                            • region
                                                              string
                                                              Region or state name
                                                            • name
                                                              string
                                                              Name of the visitor if identified
                                                              • email
                                                                string
                                                                Email address of the visitor if identified
                                                                • email_hash
                                                                  string
                                                                  Hashed version of the visitor's email for privacy
                                                                  • params
                                                                    array
                                                                    Custom parameters associated with the visitor
                                                                    • name
                                                                      string
                                                                      Parameter name
                                                                      • value
                                                                        string
                                                                        Parameter value
                                                                      • last_session_timestamp
                                                                        integer
                                                                        Unix timestamp of the visitor's last session
                                                                        • first_session_timestamp
                                                                          integer
                                                                          Unix timestamp of the visitor's first session
                                                                        • resolution
                                                                          object
                                                                          • height
                                                                            integer
                                                                            Screen height in pixels
                                                                            • width
                                                                              integer
                                                                              Screen width in pixels
                                                                              • resolution
                                                                                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 string
                                                                                      • name
                                                                                        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 parameter
                                                                                                • term
                                                                                                  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 session
                                                                                                        • error_clicks
                                                                                                          integer
                                                                                                          Number of clicks on error elements
                                                                                                          • rage_clicks
                                                                                                            integer
                                                                                                            Number of rapid clicks indicating user frustration
                                                                                                            • error_logs
                                                                                                              integer
                                                                                                              Number of JavaScript errors logged
                                                                                                              • net_errors
                                                                                                                integer
                                                                                                                Number of network errors encountered
                                                                                                            1
                                                                                                            {
                                                                                                            2
                                                                                                            "total": 0,
                                                                                                            3
                                                                                                            "page": {
                                                                                                            4
                                                                                                            "num": 0,
                                                                                                            5
                                                                                                            "size": 0
                                                                                                            6
                                                                                                            },
                                                                                                            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": 0
                                                                                                            49
                                                                                                            },
                                                                                                            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": 0
                                                                                                            73
                                                                                                            },
                                                                                                            74
                                                                                                            "events_statistics": {
                                                                                                            75
                                                                                                            "clicks": 0,
                                                                                                            76
                                                                                                            "error_clicks": 0,
                                                                                                            77
                                                                                                            "rage_clicks": 0,
                                                                                                            78
                                                                                                            "error_logs": 0,
                                                                                                            79
                                                                                                            "net_errors": 0
                                                                                                            80
                                                                                                            }
                                                                                                            81
                                                                                                            }
                                                                                                            82
                                                                                                            ]
                                                                                                            83
                                                                                                            }
                                                                                                            List alerts