{
  "manifest_version": "1.0.0",
  "template": {
    "id": "09378b97-51f2-4ae4-bade-f3d58dccd86c",
    "slug": "openclaw-railway-1",
    "name": "openclaw-railway",
    "description": "Deploy and Host openclaw-railway with Railway",
    "url": "https://railway.com/deploy/openclaw-railway-1",
    "upstream": {
      "repo_url": "https://github.com/biering/openclaw-railway"
    }
  },
  "services": [
    {
      "name": "openclaw-railway",
      "source": {
        "repo": "https://github.com/biering/openclaw-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "openclaw-railway",
      "description": "Provide a value for TELEGRAM_BOT_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openclaw-railway-1"
      }
    },
    "cli": "railway deploy --template openclaw-railway-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "09378b97-51f2-4ae4-bade-f3d58dccd86c",
            "serializedConfig": {
              "services": {
                "3f8e1215-7d4f-4ec3-83e9-8918f9ebb9d7": {
                  "name": "openclaw-railway",
                  "source": {
                    "repo": "biering/openclaw-railway",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "OPENROUTER_API_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    }
                  },
                  "volumeMounts": {
                    "3f8e1215-7d4f-4ec3-83e9-8918f9ebb9d7": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T12:23:45.855Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_4eace758173841488662",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
