{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3f56bf99-a3b1-4542-a6b3-e6d0e331d313",
    "slug": "bifrost-ai-gateway",
    "name": "Bifrost AI Gateway",
    "description": "Go from zero to production-ready AI gateway in under a minute.",
    "url": "https://railway.com/deploy/bifrost-ai-gateway",
    "upstream": {
      "image": "maximhq/bifrost"
    }
  },
  "services": [
    {
      "name": "bifrost docker image",
      "source": {
        "image": "maximhq/bifrost"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "bifrost docker image",
      "description": "Default Port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "bifrost docker image",
      "description": "Required for Volume setup",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "bifrost-ai-gateway"
      }
    },
    "cli": "railway deploy --template bifrost-ai-gateway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3f56bf99-a3b1-4542-a6b3-e6d0e331d313",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0098cda8-b59e-4e18-834b-5dfebdd09a7a": {
                  "icon": null,
                  "name": "bifrost docker image",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "maximhq/bifrost"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Default Port",
                      "defaultValue": "8080"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Required for Volume setup",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "0098cda8-b59e-4e18-834b-5dfebdd09a7a": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T04:14:48.407Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-13T19:08:42.185Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_72f59f3ed5294dd8b2b8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 21,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "bifrost docker image"
  }
}
