{
  "manifest_version": "1.0.0",
  "template": {
    "id": "33b0236d-65d4-41aa-b48c-d721e81e993d",
    "slug": "omniroute-v3849-or-ai-gateway-whose-prov",
    "name": "OmniRoute | (Just Updated) AI Gateway Whose Providers and Keys Survive a Redeploy",
    "description": "AI gateway whose providers and API keys persist across redeploys",
    "url": "https://railway.com/deploy/omniroute-v3849-or-ai-gateway-whose-prov",
    "upstream": {
      "image": "ghcr.io/bon5co/omniroute-railway@sha256:a4e2b52ba127dc601b2312391103604f393da9f3372579c2b1f56b187f5ef0df"
    }
  },
  "services": [
    {
      "name": "omniroute",
      "source": {
        "image": "ghcr.io/bon5co/omniroute-railway@sha256:a4e2b52ba127dc601b2312391103604f393da9f3372579c2b1f56b187f5ef0df"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "BASE_URL",
      "service": "omniroute",
      "description": "Provide a value for BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "INITIAL_PASSWORD",
      "service": "omniroute",
      "description": "Provide a value for INITIAL_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEXT_PUBLIC_BASE_URL",
      "service": "omniroute",
      "description": "Provide a value for NEXT_PUBLIC_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "omniroute-v3849-or-ai-gateway-whose-prov"
      }
    },
    "cli": "railway deploy --template omniroute-v3849-or-ai-gateway-whose-prov",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "33b0236d-65d4-41aa-b48c-d721e81e993d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "194653a8-d5bb-4da5-ae30-9951cc0f8d0c": {
                  "icon": null,
                  "name": "omniroute",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/monitoring/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/omniroute-railway@sha256:a4e2b52ba127dc601b2312391103604f393da9f3372579c2b1f56b187f5ef0df"
                  },
                  "variables": {
                    "BASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "INITIAL_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{INITIAL_PASSWORD}}"
                    },
                    "NEXT_PUBLIC_BASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "194653a8-d5bb-4da5-ae30-9951cc0f8d0c": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "omniroute",
      "method": "GET",
      "path": "/api/monitoring/health",
      "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:36:32.619Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1c344281d3c6458b8975",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "omniroute"
  }
}
