{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7dd9579b-5eff-4b32-b52e-0fda53922269",
    "slug": "hive",
    "name": "hive",
    "description": "Agent teams with fine-grained access controls.",
    "url": "https://railway.com/deploy/hive",
    "upstream": {
      "repo_url": "https://github.com/yaneq/hive"
    }
  },
  "services": [
    {
      "name": "hive",
      "source": {
        "repo": "https://github.com/yaneq/hive"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ADMIN_API_KEY",
      "service": "hive",
      "description": "Secret key for the admin user. Set to any secure string. Used on first boot to create the admin account.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hive"
      }
    },
    "cli": "railway deploy --template hive",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7dd9579b-5eff-4b32-b52e-0fda53922269",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8e06666a-df41-4813-96d0-f7ce1e5d8155": {
                  "icon": "https://raw.githubusercontent.com/yaneq/hive/main/icon.svg",
                  "name": "hive",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/auth/verify",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/yaneq/hive",
                    "rootDirectory": null
                  },
                  "variables": {
                    "ADMIN_API_KEY": {
                      "isOptional": false,
                      "description": "Secret key for the admin user. Set to any secure string. Used on first boot to create the admin account.",
                      "defaultValue": "{{ADMIN_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "8e06666a-df41-4813-96d0-f7ce1e5d8155": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hive",
      "method": "GET",
      "path": "/api/auth/verify",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T14:48:00.967Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_2c8522af352543378acf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
