PUT
/
api
/
v0
/
commands
/
copy_direct
/
copy
curl --request PUT \
  --url https://console.vast.ai/api/v0/commands/copy_direct/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "src_id": "<string>",
  "dst_id": "<string>",
  "src_path": "<string>",
  "dst_path": "<string>"
}'
{
  "success": true,
  "msg": "Remote to Remote copy initiated - check instance status bar for progress updates (~30 seconds delayed)."
}

Authorizations

Authorization
string
header
required

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

Body

application/json
src_path
string
required

Path of the source data.

dst_path
string
required

Path of the destination data.

src_id
string

ID of the source instance.

dst_id
string

ID of the destination instance.

Response

Remote copy initiated successfully.

success
boolean
Example:

true

msg
string
Example:

"Remote to Remote copy initiated - check instance status bar for progress updates (~30 seconds delayed)."