{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1d334bf6-dcdc-4870-bd52-6173f8303518",
    "slug": "sandbox-1",
    "name": "Sandbox",
    "description": "All-in-one AI agent sandbox with browser, shell, MCP, and VSCode.",
    "url": "https://railway.com/deploy/sandbox-1",
    "upstream": {
      "image": "ghcr.io/agent-infra/sandbox:latest"
    }
  },
  "services": [
    {
      "name": "Sandbox",
      "source": {
        "image": "ghcr.io/agent-infra/sandbox:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/gem/workspace",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Sandbox",
      "description": "Provide a value for TZ.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "HOST",
      "service": "Sandbox",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "Sandbox",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "WORKSPACE",
      "service": "Sandbox",
      "description": "Provide a value for WORKSPACE.",
      "secret": false,
      "strategy": "default",
      "default": "/home/gem/workspace"
    },
    {
      "key": "SANDBOX_API_KEY",
      "service": "Sandbox",
      "description": "Provide a value for SANDBOX_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sandbox-1"
      }
    },
    "cli": "railway deploy --template sandbox-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1d334bf6-dcdc-4870-bd52-6173f8303518",
            "serializedConfig": {
              "services": {
                "9416c124-e80b-4b71-9245-238f1f38bf25": {
                  "name": "Sandbox",
                  "source": {
                    "image": "ghcr.io/agent-infra/sandbox:latest"
                  },
                  "variables": {
                    "TZ": {
                      "defaultValue": "UTC"
                    },
                    "HOST": {
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "defaultValue": "8080"
                    },
                    "WORKSPACE": {
                      "defaultValue": "/home/gem/workspace"
                    },
                    "SANDBOX_API_KEY": {
                      "defaultValue": "{{SANDBOX_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "9416c124-e80b-4b71-9245-238f1f38bf25": {
                      "mountPath": "/home/gem/workspace"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T18:12:37.777Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_160a065314644e39994d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 117,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "Sandbox"
  }
}
