SandboxInput
Тип: object additionalProperties: false
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
env | Нет | object | additionalProperties: {"type":"string"} |
services | Нет | ServiceCodes | Сервисы для агента и хуков сессии. Их ENV объединяются с env_from. |
env_from | Нет | array<string> | |
template | Да | string | Точное имя активного шаблона из каталога, включая team slug и тег, если они есть. Отсутствующая или неактивная запись возвращает 422 unknown_template с кодом детали template_not_found или template_inactive. Принятые сессии и идемпотентные повторы сохраняют имя независимо от последующих изменений каталога. 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"
}