Run in Production
Connection Health
Monitor source connections and distinguish accepted work from completion
Connection state describes configuration and provider access; sync state describes a single execution. Team issues aggregate the failures that need user or operator attention. Show all three at the appropriate level.
Connection Checks
For each connection from
GET /connections, monitor:
status: whether the connection is active;app: the selected app, including itstypecategory;isErrorState: whether the most recent fetch failed;currentSync: the latest sync execution'sstatus,updatedAt, andmessage;accountingStartAt/accountingEndAt: the accounting window for PMS connections;enabledFlowsand the app'simporters/extractors: enabled flows and source capabilities; and- related structured issue context from
GET /teams/issues, which also surfaces credential, reconnect, and outdated-connection conditions.
Do not assume an accepted connect or sync request means provider work is complete. Poll the returned sync or connection resource where documented, or use an event-driven flow when a public event exists.
Repair Actions
Use issue code and context to choose a specific action:
- reconnect a broken connection —
POST /connections/{id}/connector retry its sync —POST /connections/{id}/sync; - update settings —
PUT /connections/{id}before reconnecting an outdated connection; - configure a missing PMS accounting start; or
- correct source data that causes repeated item failures.
After repair, re-read connection state and the team issues snapshot. Do not hide an issue only because one retry request returned success.
