Computer Actions
Execute bash
Run a bash command on the computer and get its output.
POST
Execute bash
Executes a bash command on the computer and returns the combined stdout/stderr output.
Path parameters
Computer ID (UUID).
Body parameters
Bash command to execute.
Maximum execution time in seconds before the command is killed.
Response
Combined stdout and stderr.
Process exit code.
Echo of the command that was executed.
true if the command ran (regardless of exit code). Check exit_code to determine if the command itself succeeded.Example
Response
Errors
| Status | Meaning |
|---|---|
400 | Computer instance not available. |
401 | Missing or invalid API key. |
403 | You do not have access to this computer. |
404 | Computer not found. |
500 | Upstream desktop agent failure (process spawn error, timeout killed). |
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer ID
Body
application/json
Bash command to execute
Execute bash