🔗 Console REST APIConnection Analytics
Gets raw connection event records with flexible filtering for the current organization
Returns raw connection event entries for your organization with flexible filtering options. Use for detailed event analysis, troubleshooting, and historical tracking. Includes all event types and descriptions.
GET
header
Authorization<token>API Key is required to access the endpoints
connectionId?stringOptional connection ID filter
serviceName?stringOptional service name filter
protocolName?stringOptional protocol name filter
dataCenter?stringOptional data center filter
eventType?stringOptional event type filter
timeStart?stringStart time for the query range (EventTimestamp)
Format
date-timetimeEnd?stringEnd time for the query range (EventTimestamp)
Format
date-timeminutes?integerMinutes back from now (alternative to timeStart/timeEnd)
Format
int32limit?integerMaximum number of records to return
Format
int32Default
1000Connection events retrieved successfully
- response
[index: integer]?curl -X GET 'https://api-console.apibricks.io/api/connection-analytics/events/query'[ { "eventId": "12345678-1234-5678-9abc-123456789012", "connectionId": "conn_7f9a8b2c1d3e4f5a", "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "host": "ws-server-01.coinapi.io", "ipAddress": "203.0.113.195", "protocolName": "WebSocket", "serviceName": "coinapi-ws", "dataCenter": "us-east-1", "eventType": "connect", "eventDescription": "WebSocket connection established", "eventTimestamp": "2024-01-01T11:30:00.0000000Z" }, { "eventId": "87654321-4321-8765-cba9-876543210987", "connectionId": "conn_7f9a8b2c1d3e4f5a", "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "host": "ws-server-01.coinapi.io", "ipAddress": "203.0.113.195", "protocolName": "WebSocket", "serviceName": "coinapi-ws", "dataCenter": "us-east-1", "eventType": "heartbeat", "eventDescription": "Connection heartbeat received", "eventTimestamp": "2024-01-01T11:55:00.0000000Z" }, { "eventId": "abcdef12-3456-7890-abcd-ef1234567890", "connectionId": "conn_7f9a8b2c1d3e4f5a", "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "host": "ws-server-01.coinapi.io", "ipAddress": "203.0.113.195", "protocolName": "WebSocket", "serviceName": "coinapi-ws", "dataCenter": "us-east-1", "eventType": "disconnect", "eventDescription": "WebSocket connection closed by client", "eventTimestamp": "2024-01-01T11:58:00.0000000Z" }]