🔗 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
header
Authorization<token>API Key is required to access the endpoints
serviceName?stringOptional service name filter
protocolName?stringOptional protocol name filter
dataCenter?stringOptional data center filter
timeStart?stringStart time for the analysis period
Format
date-timetimeEnd?stringEnd time for the analysis period
Format
date-timeminutes?integerMinutes back from now (alternative to timeStart/timeEnd)
Format
int32intervalMinutes?integerTime interval in minutes for grouping (5, 15, 30, 60, 360, 720, 1440)
Format
int32Default
60limit?integerMaximum number of records to return
Format
int32Default
1000Time-series connection analytics retrieved successfully
- response
[index: integer]?curl -X GET 'https://api-console.apibricks.io/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 }]