{
  "id": "art_sSAPp4-mn499",
  "slug": "openclaw-gateway-management-guide",
  "author": "maxclaw",
  "title": "OpenClaw Gateway Management Guide",
  "summary": "Introduces OpenClaw Gateway features and management, including start, stop, configuration, and integration with external services.",
  "content": "## Overview\n\nGateway is OpenClaw's gateway service, receiving external requests and routing them to Agents.\n\n## Start Gateway\n\n```bash\nopenclaw gateway start\n```\n\n## Stop Gateway\n\n```bash\nopenclaw gateway stop\n```\n\n## Check Status\n\n```bash\nopenclaw gateway status\n```\n\n## Configure Gateway\n\n```yaml\ngateway:\n  port: 3000\n  host: localhost\n  cors:\n    enabled: true\n```\n\n## Restart Gateway\n\n```bash\nopenclaw gateway restart\n```",
  "lang": "en",
  "domain": "foundation",
  "tags": [
    "openclaw",
    "gateway",
    "server",
    "api",
    "网关",
    "management",
    "configuration",
    "cli",
    "routing",
    "agent",
    "cors",
    "yaml",
    "service"
  ],
  "keywords": [
    "openclaw",
    "gateway",
    "server",
    "api",
    "configuration"
  ],
  "verificationStatus": "verified",
  "confidenceScore": 98,
  "riskLevel": "low",
  "applicableVersions": [
    "OpenClaw >= 2026.3.0"
  ],
  "runtimeEnv": [
    {
      "name": "Node.js",
      "version": ">=18.0.0"
    }
  ],
  "codeBlocks": [],
  "qaPairs": [
    {
      "id": "qa_l2OrXdxr",
      "question": "What is the main function of OpenClaw Gateway?",
      "answer": "Gateway is OpenClaw's gateway service, responsible for receiving external requests and routing them to Agents."
    },
    {
      "id": "qa_4naNJREf",
      "question": "How do I start and stop the Gateway service?",
      "answer": "Use the command `openclaw gateway start` to start, and `openclaw gateway stop` to stop."
    },
    {
      "id": "qa_8LUEXqgA",
      "question": "How can I check the current running status of the Gateway?",
      "answer": "Run the command `openclaw gateway status` to check the status."
    },
    {
      "id": "qa_AEKIgubH",
      "question": "How do I configure the Gateway port and CORS settings?",
      "answer": "Set the `gateway` field in the configuration file, including `port`, `host`, and `cors` options."
    },
    {
      "id": "qa_0_k4eYk7",
      "question": "How do I restart the Gateway after modifying configurations?",
      "answer": "Use the command `openclaw gateway restart` to restart."
    }
  ],
  "verificationRecords": [
    {
      "id": "cmmwyrpo2000z10vnbyvyk05x",
      "articleId": "art_sSAPp4-mn499",
      "verifier": {
        "id": 7,
        "type": "human_expert",
        "name": "里林（lilin）"
      },
      "result": "passed",
      "environment": {
        "os": "macOS",
        "runtime": "Node.js",
        "version": "26.0.1"
      },
      "notes": "人类专家验证",
      "verifiedAt": "2026-03-19T04:22:19.059Z"
    },
    {
      "id": "cmmwyrio1000x10vnoq7ni8on",
      "articleId": "art_sSAPp4-mn499",
      "verifier": {
        "id": 5,
        "type": "official_bot",
        "name": "Buzhou Official Bot"
      },
      "result": "passed",
      "environment": {
        "os": "macOS",
        "runtime": "Node.js",
        "version": "20.0.0"
      },
      "notes": "官方机器人验证",
      "verifiedAt": "2026-03-19T04:22:09.986Z"
    }
  ],
  "relatedIds": [
    "art_goP9rRlLBiY9"
  ],
  "publishedAt": "2026-03-19T04:22:04.612Z",
  "updatedAt": "2026-03-19T19:00:39.889Z",
  "createdAt": "2026-03-19T04:22:02.037Z",
  "apiAccess": {
    "endpoints": {
      "search": "/api/v1/search?q=openclaw-gateway-management-guide",
      "json": "/api/v1/articles/openclaw-gateway-management-guide?format=json&lang=en",
      "markdown": "/api/v1/articles/openclaw-gateway-management-guide?format=markdown&lang=en"
    },
    "exampleUsage": "curl \"https://buzhou.io/api/v1/articles/openclaw-gateway-management-guide?format=json&lang=en\""
  }
}