v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Instances

copy

Initiate a remote copy operation to transfer data from one instance to another or between an instance and the local machine.

CLI Usage: vastai copy <src_id> <dst_id> <src_path> <dst_path>

put/api/v0/commands/copy_direct/

Request body

src_idstring

ID of the source instance.

dst_idstring

ID of the destination instance.

src_pathstring required

Path of the source data.

dst_pathstring required

Path of the destination data.

Response

Remote copy initiated successfully.

successboolean
msgstring

Example response

{
  "success": true,
  "msg": "Remote to Remote copy initiated - check instance status bar for progress updates (~30 seconds delayed)."
}