{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0b1c2bc1-8154-4fb9-8c43-349495bcb217",
    "slug": "yM5tQL",
    "name": "coze2openai",
    "description": "Use Coze on your favorite OpenAI client.",
    "url": "https://railway.com/deploy/yM5tQL",
    "upstream": {
      "repo_url": "https://github.com/fatwang2/coze2openai"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "coze2openai",
      "source": {
        "repo": "https://github.com/fatwang2/coze2openai"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "coze2openai",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "BOT_ID",
      "service": "coze2openai",
      "description": "Provide a value for BOT_ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NIXPACKS_INSTALL_CMD",
      "service": "coze2openai",
      "description": "Install npm packages",
      "secret": false,
      "strategy": "default",
      "default": "pnpm i"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "yM5tQL"
      }
    },
    "cli": "railway deploy --template yM5tQL",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0b1c2bc1-8154-4fb9-8c43-349495bcb217",
            "serializedConfig": {
              "services": {
                "22853353-6c34-4b80-a288-5930eb66ddea": {
                  "name": "coze2openai",
                  "deploy": {
                    "startCommand": "pnpm run start",
                    "healthcheckPath": "/"
                  },
                  "source": {
                    "repo": "fatwang2/coze2openai",
                    "branch": null,
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "80"
                    },
                    "BOT_ID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{BOT_ID}}"
                    },
                    "NIXPACKS_INSTALL_CMD": {
                      "isOptional": false,
                      "description": "Install npm packages",
                      "defaultValue": "pnpm i"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "coze2openai",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
