{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ec2f910e-4bdc-47b0-95a4-bc4c7e4e09b6",
    "slug": "9router-4",
    "name": "9router",
    "description": "Self-hosted AI router for Cursor, Claude, Gemini, OpenAI & 60+ AI providers",
    "url": "https://railway.com/deploy/9router-4",
    "upstream": {
      "image": "decolua/9router:latest"
    }
  },
  "services": [
    {
      "name": "9router",
      "source": {
        "image": "decolua/9router:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DATA_DIR",
      "service": "9router",
      "description": "Volume Path",
      "secret": false,
      "strategy": "default",
      "default": "/app/data"
    },
    {
      "key": "INITIAL_PASSWORD",
      "service": "9router",
      "description": "Initial password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "9router-4"
      }
    },
    "cli": "railway deploy --template 9router-4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ec2f910e-4bdc-47b0-95a4-bc4c7e4e09b6",
            "serializedConfig": {
              "services": {
                "f6af8563-2502-4045-8d1a-e3419da403b7": {
                  "icon": "https://i.imgur.com/yjb5HvR.png",
                  "name": "9router",
                  "source": {
                    "image": "decolua/9router:latest"
                  },
                  "variables": {
                    "DATA_DIR": {
                      "description": "Volume Path",
                      "defaultValue": "/app/data"
                    },
                    "INITIAL_PASSWORD": {
                      "isOptional": false,
                      "description": "Initial password",
                      "defaultValue": "{{INITIAL_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f6af8563-2502-4045-8d1a-e3419da403b7": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-28T22:14:58.605Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-28T21:06:02.300Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_763bb86a23e544019687",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 66,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "9router"
  }
}
