{
  "manifest_version": "1.0.0",
  "template": {
    "id": "16a1d1c4-7a42-4bac-951d-e5ae8dd0826c",
    "slug": "nextjs-webdecoy-bot-detection",
    "name": "Next.js + WebDecoy Bot Detection",
    "description": "Next.js app with WebDecoy bot and AI-scraper detection in proxy.ts",
    "url": "https://railway.com/deploy/nextjs-webdecoy-bot-detection",
    "upstream": {
      "repo_url": "https://github.com/WebDecoy/railway-nextjs-starter"
    }
  },
  "services": [
    {
      "name": "railway-nextjs-starter",
      "source": {
        "repo": "https://github.com/WebDecoy/railway-nextjs-starter"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "WEBDECOY_API_KEY",
      "service": "railway-nextjs-starter",
      "description": "Your WebDecoy API key. Create one at app.webdecoy.com under Settings > API Keys (free account).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nextjs-webdecoy-bot-detection"
      }
    },
    "cli": "railway deploy --template nextjs-webdecoy-bot-detection",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "16a1d1c4-7a42-4bac-951d-e5ae8dd0826c",
            "serializedConfig": {
              "services": {
                "9580595e-8162-47c0-9cb7-8d37ee636146": {
                  "name": "railway-nextjs-starter",
                  "source": {
                    "repo": "WebDecoy/railway-nextjs-starter"
                  },
                  "variables": {
                    "WEBDECOY_API_KEY": {
                      "isOptional": false,
                      "description": "Your WebDecoy API key. Create one at app.webdecoy.com under Settings > API Keys (free account).",
                      "defaultValue": "{{WEBDECOY_API_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-27T04:14:50.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-27T01:58:57.431Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_66cf5467e1b5423698d9",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 47,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "railway-nextjs-starter"
  }
}
