Skip to content
Hayonix

API reference · Schema

CreateSandboxRequest

  • namestring

    Its name

    up to 100 characters

  • sizestring

    One of cpu-2c-4gb, cpu-4c-16gb, cpu-8c-32gb (default cpu-2c-4gb)

  • regionstringrequired

    Region code

    1–64 characters

  • lifetime_secondsinteger

    How long it lives unless extended (default 3600)

    60–86400

  • idle_timeout_secondsinteger

    It ends after this long without a run or a file operation (default 900)

    60–86400

  • metadataobject

    Your own key/value labels, returned as given

Example
{
  "name": "agent scratch",
  "size": "cpu-2c-4gb",
  "region": "dev-local-1",
  "lifetime_seconds": 3600
}

Used by