К содержимому

SandboxState ​

Тип: object

ПолеОбязательноеТипОписание и ограничения
errorДаError / null
idДаstring / nullID песочницы AgentBox, если известен. Сохраняется для диагностики после удаления или потери песочницы и не гарантирует её доступность.
last_known_stateДаstring / null
stateДаstringenum: ["not_created","provisioning","ready","pausing","paused","resuming","deleting","deleted","unavailable"]
workspaceДаstring / nullАбсолютный путь рабочего каталога, определённый при подготовке песочницы, если известен.

JSON Schema ​

json
{
  "properties": {
    "error": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/Error"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "AgentBox sandbox ID, if known. Retained for diagnostics after deletion or loss; does not guarantee accessibility."
    },
    "last_known_state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Known State"
    },
    "state": {
      "enum": [
        "not_created",
        "provisioning",
        "ready",
        "pausing",
        "paused",
        "resuming",
        "deleting",
        "deleted",
        "unavailable"
      ],
      "title": "State",
      "type": "string"
    },
    "workspace": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Absolute workspace path resolved during sandbox preparation, if known."
    }
  },
  "required": [
    "state",
    "last_known_state",
    "error",
    "id",
    "workspace"
  ],
  "title": "SandboxState",
  "type": "object"
}

Все схемы · HTTP API