ApiUser connections
Get detailed connection health
Return a detailed health summary with granular expiration tracking for the authenticated user. Connections are scoped to the current API key owner. Includes per-status counts and individual connection details.
Authorization
User API Key AuthorizationBearer <token>
User API key (mgw_usr_live_* or mgw_usr_test_*)
In: header
Cookie Parameters
access_token?|
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/connections/health/detailed"{
"total_connections": 0,
"healthy": 0,
"warning": 0,
"critical": 0,
"expired": 0,
"auto_refresh_active": 0,
"require_reauth": 0,
"expiring_within_24h": 0,
"connections": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"server_id": "820efca4-4a15-4ab7-82fc-9e76f6d61325",
"server_name": "string",
"is_valid": true,
"expires_at": "2019-08-24T14:15:22Z",
"expires_in_seconds": 0,
"health_status": "healthy",
"requires_reauth": false,
"last_refreshed_at": "2019-08-24T14:15:22Z",
"next_refresh_at": "2019-08-24T14:15:22Z"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Get connection health summary
Return an aggregated health summary of all connections for the authenticated user. Connections are scoped to the current API key owner. Useful for dashboards and alerting.
Get expiring connections
Return connections expiring within the specified time window, sorted by urgency. Connections are scoped to the authenticated user. Includes auto-refresh status to indicate whether user action is required.
