POST
/
computers
/
{id}
/
bash
Execute Bash Command
curl --request POST \
  --url https://www.orgo.ai/api/computers/{id}/bash \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "command": "<string>"
}'
{
  "success": true,
  "output": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer token

Path Parameters

id
string
required

Computer/Project name (e.g., computer-abc123)

Body

application/json
command
string
required

Bash command to execute

Response

Command executed successfully

success
boolean
output
string

Command output

error
string

Error output if any