Body param: The command to execute via the Devbox shell. By default, commands are run from the user home directory unless shell_name is specified. If shell_name is specified the command is run from the directory based on the recent state of the persistent shell.
Optionalcommand_Body param: The command ID in UUIDv7 string format for idempotency and tracking
Optionallast_Query param: Last n lines of standard error / standard out to return (default: 100)
Optionaloptimistic_Body param: Timeout in seconds to wait for command completion, up to 25 seconds. Defaults to 25 seconds. Operation is not killed.
Optionalshell_Body param: The name of the persistent shell to create or use if already created. When using a persistent shell, the command will run from the directory at the end of the previous command and environment variables will be preserved.
Parameters for executing a command on a Devbox.