{
  "manifest_version": "1.0.0",
  "template": {
    "id": "86c51e62-be9b-4ae6-8ba2-a99ea38ab18f",
    "slug": "openklaw",
    "name": "openklaw",
    "description": "openclaw+telegram+(free API: https://build.nvidia.com/)+tailscale",
    "url": "https://railway.com/deploy/openklaw",
    "upstream": {
      "repo_url": "https://github.com/llk23r/openklaw"
    }
  },
  "services": [
    {
      "name": "openklaw",
      "source": {
        "repo": "https://github.com/llk23r/openklaw"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GATEWAY_TOKEN",
      "service": "openklaw",
      "description": "Secret token for Control UI access",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MOONSHOT_API_KEY",
      "service": "openklaw",
      "description": "NVIDIA NIM API key (nvapi-...)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "openklaw"
      }
    },
    "cli": "railway deploy --template openklaw",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "86c51e62-be9b-4ae6-8ba2-a99ea38ab18f",
            "serializedConfig": {
              "services": {
                "8511e817-ba75-44a1-b52d-94a7f4a8e7c9": {
                  "icon": "https://user-gen-media-assets.s3.amazonaws.com/seedream_images/5305f104-44cc-4628-b9e1-af9ddced1dfd.png",
                  "name": "openklaw",
                  "source": {
                    "repo": "llk23r/openklaw",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "TS_AUTHKEY": {
                      "isOptional": true,
                      "description": "Tailscale auth key for zero public exposure (optional) -- generate at login.tailscale.com/admin/settings/keys",
                      "defaultValue": ""
                    },
                    "TS_HOSTNAME": {
                      "isOptional": true,
                      "description": "Tailscale machine name (default: openklaw)",
                      "defaultValue": ""
                    },
                    "GATEWAY_TOKEN": {
                      "isOptional": false,
                      "description": "Secret token for Control UI access",
                      "defaultValue": "{{GATEWAY_TOKEN}}"
                    },
                    "SYSTEM_PROMPT": {
                      "isOptional": true,
                      "description": "Custom agent personality",
                      "defaultValue": ""
                    },
                    "MOONSHOT_API_KEY": {
                      "isOptional": false,
                      "description": "NVIDIA NIM API key (nvapi-...)",
                      "defaultValue": "{{MOONSHOT_API_KEY}}"
                    },
                    "TELEGRAM_USER_ID": {
                      "isOptional": true,
                      "description": "Your numeric Telegram user ID",
                      "defaultValue": ""
                    },
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": true,
                      "description": "Telegram bot token from @BotFather",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-20T17:37:35.227Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_310aa181c6c24c83a900",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 218,
    "typical_build_seconds": 108,
    "typical_start_seconds": 40,
    "slowest_service": "openklaw"
  }
}
