Execute a command in the machine
Machines
Execute a command in the machine
POST
Execute a command in the machine
Authorizations
API key passed as Bearer token
Path Parameters
Machine ID (e.g. mch_a1b2c3d4)
Body
application/json
Required range:
x >= 1Optional command working directory. Use an absolute machine path such as /workspace/project, /tmp/project, /data/project, or /context/demo where present. Values are normalized before execution, must resolve to an existing directory in the running machine, and may not target reserved runtime paths under /workspace/.nullspace. This affects command execution only and does not limit general filesystem paths.