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>
Documentation Index
Fetch the complete documentation index at: https://vastai-80aa3a82-feat-host-3113-dynamic-resize.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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"