Get channel connection health
GET https://api.suger.cloud/org/{orgId}/revenue/connection/{partner}/health
Report sync health for one connected revenue channel: last sync time, last sync status, consecutive error count, how fresh the synced data is, and the channel's sync interval in minutes. Use this to diagnose a stale or failing channel. ListRevenueConnections returns the same status for every channel at once; this returns the detail for one.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
partner | path | string | yes | Channel to inspect: AWS, AZURE, GCP, or STRIPE |
partnerID | query | string | no | Partner account ID. Required only when the organization has more than one connection for this partner; otherwise the single connection is used. |
Responses
200 — OK
Content-Type: application/json · Schema: RevenueConnectionHealthResponse
401 — Missing or invalid access token, or the caller lacks the revenue read permission
Content-Type: application/json
404 — No verified revenue connection matches the partner and partnerID
Content-Type: application/json