{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e2fb0ce7-9d13-4f97-bbff-ddbd6f5c0f5c",
    "slug": "cliproxyapi-secure-release-tracked",
    "name": "CLIProxyAPI — Daily Auto-Update",
    "description": "CLIProxyAPI gateway with verified daily updates and automatic rollback.",
    "url": "https://railway.com/deploy/cliproxyapi-secure-release-tracked",
    "upstream": {
      "repo_url": "https://github.com/l4time/railway-cliproxyapi-template"
    }
  },
  "services": [
    {
      "name": "cliproxyapi",
      "source": {
        "repo": "https://github.com/l4time/railway-cliproxyapi-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CLIPROXY_PROXY_KEY",
      "service": "cliproxyapi",
      "description": "Generated client API key for proxy requests.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLIPROXY_MANAGEMENT_KEY",
      "service": "cliproxyapi",
      "description": "Generated management API key; keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cliproxyapi-secure-release-tracked"
      }
    },
    "cli": "railway deploy --template cliproxyapi-secure-release-tracked",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e2fb0ce7-9d13-4f97-bbff-ddbd6f5c0f5c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7a399c97-7c9c-49b6-b54e-7691e11ae6d1": {
                  "icon": null,
                  "name": "cliproxyapi",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/l4time/railway-cliproxyapi-template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "CLIPROXY_PROXY_KEY": {
                      "isOptional": false,
                      "description": "Generated client API key for proxy requests.",
                      "defaultValue": "{{CLIPROXY_PROXY_KEY}}"
                    },
                    "CLIPROXY_MANAGEMENT_KEY": {
                      "isOptional": false,
                      "description": "Generated management API key; keep private.",
                      "defaultValue": "{{CLIPROXY_MANAGEMENT_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "7a399c97-7c9c-49b6-b54e-7691e11ae6d1": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "cliproxyapi",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T22:14:43.073Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T21:31:03.854Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c4133dbb4ced4201a3ed",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 127,
    "typical_build_seconds": 53,
    "typical_start_seconds": 10,
    "slowest_service": "cliproxyapi"
  }
}
