Check sync health
get_sync_healthIntegrations (between two systems): Use when a signed in CRM Connector customer asks how their syncs are doing: what failed, why records did not arrive, what is waiting, when an integration last ran or which conflicts wait for a choice. Returns, for all integrations or one, the failed records grouped by reason with a count per integration and record type, the records waiting on a related record, and totals. With an integration_id, include recent_syncs adds its latest syncs (moment, outcome and per record type what was read, written, skipped and failed) and include conflicts adds the conflicts waiting: two records that match one record, of which only one can sync, named only to a person who allowed managing integrations. Failure reasons never quote record contents. Not for listing integrations (use list_integrations) or for fixing anything: it only reads; resolve a conflict with resolve_conflict and start a sync with run_sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, 1 to 30. | |
| limit | No | With include recent_syncs: how many of the latest syncs, 1 to 20. | |
| include | No | Optional, with an integration_id: recent_syncs for its latest syncs, conflicts for the conflicts waiting. | |
| integration_id | No | Optional id of one integration, as list_integrations returns it; needed for include. Leave it out for all integrations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| health | Yes | ||
| conflicts | Yes | ||
| recentSyncs | Yes | ||
| conflictsNotRead | Yes |