{
  "manifest_version": "1.0.0",
  "template": {
    "id": "04a968e6-2a8c-42c2-97ec-f4133ff24a2a",
    "slug": "replicate-openai",
    "name": "replicate-openai",
    "description": "OpenAI-compatible gateway for Replicate models. BYOK supported.",
    "url": "https://railway.com/deploy/replicate-openai",
    "upstream": {
      "repo_url": "https://github.com/CookieShualon/replicate-openai"
    }
  },
  "services": [
    {
      "name": "replicate-openai",
      "source": {
        "repo": "https://github.com/CookieShualon/replicate-openai"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "replicate-openai"
      }
    },
    "cli": "railway deploy --template replicate-openai",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "04a968e6-2a8c-42c2-97ec-f4133ff24a2a",
            "serializedConfig": {
              "services": {
                "eadd0338-c949-4754-b170-881b09a4ef83": {
                  "name": "replicate-openai",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "CookieShualon/replicate-openai",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "replicate-openai",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-09T07:51:27.702Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_ac52c1b3ddde415b8713",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
