Skip to content

SandboxInput ​

Type: object additionalProperties: false

FieldRequiredTypeDescription and constraints
envNoobjectadditionalProperties: {"type":"string"}
servicesNoServiceCodesServices available to the agent and session hooks, expanded together with env_from.
env_fromNoarray<string>
templateYesstringExact active catalog name, including any team slug and tag. Missing or inactive records return 422 unknown_template with detail code template_not_found or template_inactive. Accepted sessions and idempotent replays keep their stored name regardless of subsequent catalog changes. minLength: 1

JSON Schema ​

json
{
  "additionalProperties": false,
  "properties": {
    "env": {
      "additionalProperties": {
        "type": "string"
      },
      "title": "Env",
      "type": "object"
    },
    "services": {
      "description": "Services available to the agent and session hooks, expanded together with env_from.",
      "$ref": "#/components/schemas/ServiceCodes"
    },
    "env_from": {
      "items": {
        "type": "string"
      },
      "title": "Env From",
      "type": "array"
    },
    "template": {
      "description": "Exact active catalog name, including any team slug and tag. Missing or inactive records return 422 unknown_template with detail code template_not_found or template_inactive. Accepted sessions and idempotent replays keep their stored name regardless of subsequent catalog changes.",
      "minLength": 1,
      "title": "Template",
      "type": "string"
    }
  },
  "required": [
    "template"
  ],
  "title": "SandboxInput",
  "type": "object"
}

All schemas · HTTP API