Skip to main content
GET
/
sessions
/
average
Get Average Session Length
curl --request GET \
  --url https://ebn.telemetree.io/public-api/sessions/average \
  --header 'x-api-key: <api-key>'
{
  "xValues": {
    "name": "<string>",
    "data_type": "time_series",
    "data": [
      "<string>"
    ],
    "length": 123,
    "key_value": 123,
    "empty": false
  },
  "yValues": [
    {
      "name": "<string>",
      "data_type": "time_series",
      "data": [
        123
      ],
      "length": 123,
      "key_value": 123,
      "empty": false,
      "change": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your API Key (Dashboard->Settings)

Query Parameters

start
string
required

Start date in YYYYMMDD format Start date in YYYYMMDD format

end
string
required

End date in YYYYMMDD format End date in YYYYMMDD format

Response

Successful Response

Base class for the analytical dashboard information request

xValues
XAxis · object
required

X-axis information

yValues
YAxis · object[]
required