Skip to content
Hayonix

API reference · Schema

PodExecRequest

  • commandarray of stringrequired

    Program and its arguments, run without a shell (use `["sh", "-c", "…"]` for shell syntax)

    1–64 items

  • working_dirstring

    Directory to run in (default: the image’s working directory)

    up to 1024 characters

  • timeout_secondsinteger

    Seconds to wait for the command (default 30); after that the call returns with `timed_out` true

    1–120 · default 30

Example
{
  "command": [
    "uname",
    "-a"
  ],
  "timeout_seconds": 10
}

Used by