🔗 Console REST APIConnection Analytics

Gets time-series connection analytics with flexible filtering for the current organization

Returns connection analytics for your organization aggregated by time intervals. Shows connection counts, active connections, unique API keys, and connection duration metrics over time.

GET
/api/connection-analytics/time-series
Authorization<token>

API Key is required to access the endpoints

In: header

Query Parameters

serviceName?string

Optional service name filter

protocolName?string

Optional protocol name filter

dataCenter?string

Optional data center filter

timeStart?string

Start time for the analysis period

timeEnd?string

End time for the analysis period

minutes?integer

Minutes back from now (alternative to timeStart/timeEnd)

intervalMinutes?integer

Time interval in minutes for grouping (5, 15, 30, 60, 360, 720, 1440)

limit?integer

Maximum number of records to return

Response Body

curl -X GET "https://example.com/api/connection-analytics/time-series"
[
  {
    "timeSlot": "2024-01-15T14:00:00.0000000Z",
    "totalConnectionsInPeriod": 125,
    "newConnectionsInPeriod": 12,
    "connectionCountOnPeriodEnd": 98,
    "connectionCountOnPeriodStart": 113,
    "uniqueOrganizations": 1,
    "averageConnectionDurationSeconds": 1847,
    "totalConnectionTimeSeconds": 230760
  },
  {
    "timeSlot": "2024-01-15T13:00:00.0000000Z",
    "totalConnectionsInPeriod": 118,
    "newConnectionsInPeriod": 9,
    "connectionCountOnPeriodEnd": 92,
    "connectionCountOnPeriodStart": 109,
    "uniqueOrganizations": 1,
    "averageConnectionDurationSeconds": 1923,
    "totalConnectionTimeSeconds": 227160
  }
]
Empty
Empty
Service StatusGitHub SDK