Skip to main content
POST
Run shell commands inside the VM

Authorizations

Authorization
string
header
required

Send your API token (Dashboard → Settings → API Token) as Authorization: Bearer <token>.

Path Parameters

vm_id
string<uuid>
required

Body

application/json
commands
object[]
required
Maximum array length: 50
cwd
string

Response

text/event-stream of output events: { command_index, output, is_error, command_done, exit_code, timed_out, error, batch_done }

The response is of type string.