POST
/
api
/
v0
/
commands
/
rclone
/
cloud copy
curl --request POST \
  --url https://console.vast.ai/api/v0/commands/rclone/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "instance_id": "<string>",
  "src": "<string>",
  "dst": "<string>",
  "selected": "<string>",
  "transfer": "<string>",
  "flags": [
    "<string>"
  ],
  "api_key": "<string>"
}'
{
  "success": true,
  "msg": "<string>",
  "result_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
instance_id
string

ID of the instance.

src
string

Source path for the copy operation.

dst
string

Destination path for the copy operation.

selected
string

ID of the cloud connection.

transfer
string

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

flags
string[]

Additional flags for the operation.

api_key
string

API key for authentication.

Response

Cloud copy operation initiated successfully.

success
boolean
msg
string
result_url
string