confirm_sync_run
Confirm a paused sync run to apply destructive database migrations, or permanently skip them after explicit acknowledgment. Ensures sync completes and avoids divergence.
Instructions
Confirm a sync run that is PAUSED_FOR_REVIEW. Destructive database migrations (DROP TABLE, ALTER COLUMN) pause the sync for review before applying. Optionally skip the destructive migrations instead of applying them. WARNING: skipDestructive is PERMANENT, not a deferral. The run still completes, so the next sync diffs from this run's commit and the skipped migrations are never re-applied — they stay in the repo, absent from the live database, and nothing reports the divergence. Later migrations that assume the change will fail with errors that look unrelated. The API returns 400 unless acknowledged is true; show the user the returned consequence and get explicit approval, then re-send. Never set acknowledged just to clear the error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Sync run ID | |
| projectId | Yes | Connected project ID | |
| acknowledged | No | Required with skipDestructive. Only set true after the user has been shown that the skip is permanent and has explicitly agreed. | |
| skipDestructive | No | If true, skip destructive migrations instead of applying them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Parsed JSON response from the Staticbot public API |