v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Instances

cloud copy

Starts a cloud copy operation by sending a command to the remote server. The operation can transfer data between an instance and a cloud service.

CLI Usage: vastai cloud copy <instance_id> <src> <dst> [options]

post/api/v0/commands/rclone/

Request body

instance_idstring

ID of the instance.

srcstring

Source path for the copy operation.

dststring

Destination path for the copy operation.

selectedstring

ID of the cloud connection.

transferstring

Type of transfer (e.g., "Instance To Cloud" or "Cloud To Instance").

flagsstring[]

Additional flags for the operation.

api_keystring

API key for authentication.

Response

Cloud copy operation initiated successfully.

successboolean
msgstring
result_urlstring