{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c168ce18-21a7-4d29-987b-c4c0f87a68c2",
    "slug": "searxng-v202683-or-ai-agent-search-api-1",
    "name": "SearXNG | (Just Updated) AI Agent Search API, 16x Concurrent Searches",
    "description": "Search API for agents: JSON results answer on the first deploy, not 403",
    "url": "https://railway.com/deploy/searxng-v202683-or-ai-agent-search-api-1",
    "upstream": {
      "image": "ghcr.io/bon5co/searxng-railway:latest"
    }
  },
  "services": [
    {
      "name": "searxng",
      "source": {
        "image": "ghcr.io/bon5co/searxng-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/etc/searxng",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SEARXNG_SECRET",
      "service": "searxng",
      "description": "Provide a value for SEARXNG_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_BASE_URL",
      "service": "searxng",
      "description": "Provide a value for SEARXNG_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "searxng-v202683-or-ai-agent-search-api-1"
      }
    },
    "cli": "railway deploy --template searxng-v202683-or-ai-agent-search-api-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c168ce18-21a7-4d29-987b-c4c0f87a68c2",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c1b28f81-667e-420d-a1ca-c93a4db5455a": {
                  "icon": null,
                  "name": "searxng",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/searxng-railway:latest"
                  },
                  "variables": {
                    "SEARXNG_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{SEARXNG_SECRET}}"
                    },
                    "SEARXNG_BASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c1b28f81-667e-420d-a1ca-c93a4db5455a": {
                      "mountPath": "/etc/searxng"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "searxng",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T04:14:37.968Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T11:51:55.400Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_cb64a3da82ab4f399881",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 51,
    "typical_build_seconds": 0,
    "typical_start_seconds": 3,
    "slowest_service": "searxng"
  }
}
