Sandboxes

Run a command inside a running sandbox (synchronous).

post/v1/sandboxes/{id}/commands

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/sandboxes/{id}/commands
  • Auth: HTTP bearer

Path parameters

idstring required

Sandbox id

Request body

cmdstring required
argsstring[] nullable
cwdstring nullable

Working directory inside the guest.

envobject
detachedboolean nullable

Run without waiting for completion.

Example request

{
  "cmd": "node"
}

Response

Command result

exit_codeinteger required
stdoutstring required
stderrstring required
duration_msinteger required

Changes

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