Get Dashboard Data for Active Sessions.

Prev Next
Get
/stats/active-sessions/dashboard

Retrieves dashboard data related to active sessions. This includes information about the total count of sessions, geolocation data, and client version support.

NOTE: This endpoint is intended for internal use and may be changed or removed at any point.

Security
HTTP
Type bearer
Responses
200

Dashboard data for active sessions.

example1
{
  "totalCount": 6,
  "geoIpData": [
    {
      "sessionCount": 3,
      "latitude": 55.8667,
      "longitude": 12.8333,
      "countryCode": "SE",
      "continentCode": "EU",
      "ips": [
        "192.0.2.1",
        "192.0.2.2"
      ]
    },
    {
      "sessionCount": 1,
      "latitude": 37.751,
      "longitude": -97.822,
      "countryCode": "US",
      "continentCode": "NA",
      "ips": [
        "198.51.100.1"
      ]
    },
    {
      "sessionCount": 1,
      "latitude": 20,
      "longitude": 77,
      "countryCode": "IN",
      "continentCode": "AS",
      "ips": [
        "203.0.113.1"
      ]
    }
  ],
  "versions": {
    "6.0.0-release-1234": {
      "supportStatus": "full",
      "sessionCount": 3
    },
    "5.5.0-release-1234": {
      "supportStatus": "partial",
      "sessionCount": 2
    },
    "5.4.1-release-1234": {
      "supportStatus": "none",
      "sessionCount": 1
    }
  }
}
Expand All
object
totalCount
integer

The total count of active sessions.

geoIpData
Array of object (SessionGeoData)

Geolocation data related to active sessions.

object
sessionCount
integer

The count of sessions for this geolocation.

latitude
number (double)
longitude
number (double)
countryCode
string

The country code associated with the geolocation.

continentCode
string

The continent code associated with the geolocation.

ips
Array of string

The IP addresses associated with the sessions in this geolocation.

string
versions
401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.