Skip to content
Hayonix

API reference · Schema

PodExecResult

  • objectstringrequired

    Always `exec_result`: the type of this object

    One ofexec_result

  • exit_codeinteger | nullrequired

    Null when it timed out or could not start

  • stdoutstringrequired

    UTF-8 (invalid sequences replaced)

  • stderrstringrequired

    UTF-8 (invalid sequences replaced)

  • timed_outbooleanrequired

    The command did not finish within `timeout_seconds`

  • truncatedbooleanrequired

    Output beyond 1048576 bytes per stream was discarded

  • duration_msintegerrequired

    How long the command ran, in milliseconds

  • errorstring | nullrequired

    Why the command could not be run; null when it ran (finished or timed out)

Example
{
  "object": "exec_result",
  "exit_code": 1,
  "stdout": "string",
  "stderr": "string",
  "timed_out": true,
  "truncated": true,
  "duration_ms": 1,
  "error": "string"
}

Used by