{
  "manifest_version": "1.0.0",
  "template": {
    "id": "95c4bf23-737e-4e79-9b42-3cbb0bab2f01",
    "slug": "scntIP",
    "name": "Ragpi Recaptcha Gateway",
    "description": "A Web Widget for the Ragpi AI Assistant",
    "url": "https://railway.com/deploy/scntIP",
    "upstream": {
      "image": "ragpi/ragpi-recaptcha-gateway"
    }
  },
  "services": [
    {
      "name": "ragpi-recaptcha-gateway",
      "source": {
        "image": "ragpi/ragpi-recaptcha-gateway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NODE_ENV",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for NODE_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "CORS_ORIGINS",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for CORS_ORIGINS.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "RAGPI_API_KEY",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for RAGPI_API_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAGPI_BASE_URL",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for RAGPI_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RECAPTCHA_SECRET_KEY",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for RECAPTCHA_SECRET_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RECAPTCHA_SCORE_THRESHOLD",
      "service": "ragpi-recaptcha-gateway",
      "description": "Provide a value for RECAPTCHA_SCORE_THRESHOLD.",
      "secret": false,
      "strategy": "default",
      "default": "0.5"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "scntIP"
      }
    },
    "cli": "railway deploy --template scntIP",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "95c4bf23-737e-4e79-9b42-3cbb0bab2f01",
            "serializedConfig": {
              "services": {
                "79536008-78a6-4701-8629-a2b5669bb470": {
                  "name": "ragpi-recaptcha-gateway",
                  "source": {
                    "image": "ragpi/ragpi-recaptcha-gateway"
                  },
                  "variables": {
                    "NODE_ENV": {
                      "defaultValue": "production"
                    },
                    "CORS_ORIGINS": {
                      "isOptional": true,
                      "defaultValue": "*"
                    },
                    "RAGPI_API_KEY": {
                      "isOptional": true,
                      "defaultValue": "${{ragpi-api.RAGPI_API_KEY}}"
                    },
                    "RAGPI_SOURCES": {
                      "isOptional": true,
                      "defaultValue": ""
                    },
                    "RAGPI_BASE_URL": {
                      "defaultValue": "https://${{ragpi-api.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RECAPTCHA_SECRET_KEY": {
                      "defaultValue": "{{RECAPTCHA_SECRET_KEY}}"
                    },
                    "RECAPTCHA_SCORE_THRESHOLD": {
                      "isOptional": true,
                      "defaultValue": "0.5"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T08:05:56.612Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_753f48c8941f490f8c00",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 100,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "ragpi-recaptcha-gateway"
  }
}
