Skip to main content
Endpoint: POST /api/v1/sandboxes/{name}/exec
string
required
Sandbox name
string
default:"default"
Namespace
string
required
Shell command to execute

Semantics

  • exit_code: 0 on success, non-zero when the command fails.
  • stdout/stderr: Raw streams captured from the process; may include newlines.
  • duration_ms: Client-observed duration including stream lifecycle.

Examples

Error example (non-zero exit):