Get sync status
get_sync_statusReturn a sync's status, per-campaign progress, totals, and structured errors. Use effectiveStatus: queued/in_progress (keep polling), stalled (hung >10min — the watchdog will reap it; a new sync is blocked until then), completed, partial (some campaigns failed), failed, cancelled — the last four are terminal. Failed/partial campaigns carry structured detail in progress.campaignDetails[].errorDetails (Google policyName/fieldPath/trigger, Microsoft PartialErrors) plus a string in .error. Scoped to the active Space — see set_active_space to switch, or pass space_id to override for this one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync_id | Yes | The syncId returned by trigger_sync. | |
| space_id | No | Override the active Space for this one call. Defaults to the active Space set via set_active_space (or GROWOMAT_SPACE_ID on the server). Pass to read/write a different Space without changing the session binding. |