Computer

Run a command on a computer

post/computer/{computerId}/exec

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/computer/{computerId}/exec
  • Auth: HTTP bearer

Path parameters

computerIdstring required

The ID of the computer

Request body

commandstring required

The shell command to run

timeoutinteger

The timeout in milliseconds (max 300000)

Response

The command ran

exitCodeinteger required

The exit code of the command

stdoutstring required

The standard output of the command

stderrstring required

The standard error of the command

Changes

No recorded changes to this operation across all 1 revision of this API.