control

Run a shell command on the computer

Changed on

Runs command in the computer’s shell and answers when it ends. timeout is in seconds (1 to 300, default 200). ?screen= runs it with that screen’s DISPLAY. A computer asleep is woken first.

post/api/computers/{id}/bash

Request

  • Base URL
    https://www.orgo.ai
  • Auth
    HTTP bearer

Path parameters

idstring required

Query parameters

screenstring

Request body

commandstring required
timeoutinteger

Response

What the command printed.

outputstring
successboolean
exit_codeinteger
commandstring

Changes