{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c9d75c6a-9405-437e-b7c1-e47523f78dfd",
    "slug": "Q9R9Rg",
    "name": "chat2api",
    "description": "A service that can convert ChatGPT on the web to OpenAI API format.",
    "url": "https://railway.com/deploy/Q9R9Rg",
    "upstream": {
      "repo_url": "https://github.com/lanqian528/chat2api"
    }
  },
  "services": [
    {
      "name": "chat2api",
      "source": {
        "repo": "https://github.com/lanqian528/chat2api"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "chat2api",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5005"
    },
    {
      "key": "ENABLE_GATEWAY",
      "service": "chat2api",
      "description": "Provide a value for ENABLE_GATEWAY.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Q9R9Rg"
      }
    },
    "cli": "railway deploy --template Q9R9Rg",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c9d75c6a-9405-437e-b7c1-e47523f78dfd",
            "serializedConfig": {
              "services": {
                "990328ea-df20-4a04-9aef-c8637f0e6419": {
                  "name": "chat2api",
                  "source": {
                    "repo": "lanqian528/chat2api",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "5005"
                    },
                    "ENABLE_GATEWAY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T12:38:58.370Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e768503bb36642a68617",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 99,
    "typical_build_seconds": 22,
    "typical_start_seconds": 0,
    "slowest_service": "chat2api"
  }
}
