Asynchronously execute a command via the Devbox shell
Execute the given command in the Devbox shell asynchronously and returns the execution that can be used to track the command’s progress.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Devbox ID.
Body
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.
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.
Response
Devbox id where command was executed.
Ephemeral id of the execution in progress.
Current status of the execution.
queued
, running
, completed
Exit code of command execution. This field will remain unset until the execution has completed.
Shell name.
Standard error generated by command. This field will remain unset until the execution has completed.
Standard out generated by command. This field will remain unset until the execution has completed.