Skip to main content
GET
/
api
/
v1
/
connections
/
stats
Get Connection Stats
curl --request GET \
  --url https://api.example.com/api/v1/connections/stats \
  --header 'Authorization: Bearer <token>'
{
  "total_connections": 123,
  "active_connections": 123,
  "inactive_connections": 123,
  "connections_by_type": {},
  "connections_by_status": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Workspace-Id
string | null

The workspace ID

Query Parameters

user_id
string | null

Get stats for specific user

Response

Successful Response

Schema for connection statistics.

total_connections
integer
required
active_connections
integer
required
inactive_connections
integer
required
connections_by_type
Connections By Type · object
required
connections_by_status
Connections By Status · object
required