{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-create-sandbox-session-dto-schema.json",
  "title": "CreateSandboxSessionDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-sandbox-api-openapi.yml#/components/schemas/CreateSandboxSessionDto",
  "type": "object",
  "properties": {
    "threadId": {
      "type": "string",
      "description": "Isolation thread id. Defaults to http:{uuid} so HTTP sessions do not collide with chat threads."
    },
    "workflowId": {
      "type": "string",
      "description": "Optional workflow id for billing attribution",
      "format": "uuid"
    },
    "templateId": {
      "type": "string",
      "description": "Sandbox template name or id override"
    },
    "maxDurationSec": {
      "type": "number",
      "minimum": 60,
      "maximum": 86400,
      "description": "Max session duration in seconds (capped by server config)"
    }
  }
}