{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ae666c5f-aa77-43fa-8ae4-305056ee9860",
    "slug": "clawdbot",
    "name": "Clawdbot",
    "description": "The AI that actually does things.",
    "url": "https://railway.com/deploy/clawdbot",
    "upstream": {
      "repo_url": "https://github.com/clawdbot/clawdbot"
    }
  },
  "services": [
    {
      "name": "clawdbot",
      "source": {
        "repo": "https://github.com/clawdbot/clawdbot"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RAILWAY_RUN_UID",
      "service": "clawdbot",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "\"0\""
    },
    {
      "key": "CLAWDBOT_STATE_DIR",
      "service": "clawdbot",
      "description": "Provide a value for CLAWDBOT_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.clawdbot"
    },
    {
      "key": "CLAWDBOT_GATEWAY_TOKEN",
      "service": "clawdbot",
      "description": "Provide a value for CLAWDBOT_GATEWAY_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "clawdbot"
      }
    },
    "cli": "railway deploy --template clawdbot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ae666c5f-aa77-43fa-8ae4-305056ee9860",
            "serializedConfig": {
              "services": {
                "17b4e32f-54c0-49c9-8fa1-c37b4141e238": {
                  "name": "clawdbot",
                  "deploy": {
                    "startCommand": "node dist/index.js gateway --allow-unconfigured --port 18789 --bind lan"
                  },
                  "source": {
                    "repo": "clawdbot/clawdbot",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "\"0\""
                    },
                    "CLAWDBOT_STATE_DIR": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/.clawdbot"
                    },
                    "CLAWDBOT_GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{CLAWDBOT_GATEWAY_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:18789": {
                        "port": 18789
                      }
                    }
                  },
                  "volumeMounts": {
                    "17b4e32f-54c0-49c9-8fa1-c37b4141e238": {
                      "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-18T13:19:51.657Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_3a2520de167a4f5aba18",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
