Executes a constrained remote command on a specified instance. The command output can be retrieved from the returned result URL.
CLI Usage: vastai execute <instance_id> <command>
API key must be provided in the Authorization header
ID of the instance to execute command on
12345
Command to execute on the instance
512"ls -l"
Command queued successfully
true
Container writeable path
"/workspace"
URL to fetch command execution results
"https://s3.amazonaws.com/vast.ai/instance_logs/abc123.log"
"Command is executing, wait a few seconds and then view the result_url"