Restore archived file
restore_archived_fileRestore an archived S3 Glacier object on CloudSee Drive so it becomes downloadable. Provide the object key and bucket, choose a retrieval tier, and set confirm=true to start the restoration.
Instructions
Begin restoring an archived (S3 Glacier) object so it can be downloaded. Requires the drive (bucketName). This is Glacier un-archiving — NOT recovery of a deleted file — and may incur retrieval cost and take minutes to hours. Requires confirm=true. (Write access is authorized server-side by the public API's RBAC — a denial means the API key lacks this tool's scope, not a tool failure.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days to keep the restored copy available. | |
| confirm | No | Must be true to actually perform this mutating/irreversible action. If omitted or false, the tool returns a preview and makes no changes. | |
| objectKey | Yes | Object key of the archived (Glacier) object to restore. | |
| storageId | No | Optional storage/index id. | |
| bucketName | No | The CloudSee drive (S3 bucket) name to operate in, e.g. 'max-2778abc0' — find it in the CloudSee dashboard. Required unless CLOUDSEE_DEFAULT_BUCKET is configured on the server. | |
| retrievalTier | No | Glacier retrieval tier (default Standard). |