upload_snapshot_package
Upload a snapshot package file to a Cognigy.AI project to restore or transfer a snapshot between environments. Set dryRun to false to execute the upload.
Instructions
Uploads a snapshot package file to a Cognigy.AI project. Use this to restore a previously downloaded snapshot or transfer a snapshot between environments. MUTATING: Set dryRun=false to upload. Async operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true (default), validates the file exists without uploading. Set to false to actually upload. | |
| filePath | Yes | Local file path to the snapshot package file (e.g., './snapshot.csnap' or 'C:/snapshots/backup.csnap') | |
| projectId | Yes | The target project ID to upload the snapshot package to | |
| timeoutMs | No | Maximum time to wait for upload and processing (5-600 seconds, default 180) | |
| pollIntervalMs | No | How often to check task status (1-10 seconds, default 3) |