You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli/gateway.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,10 +165,15 @@ When you set `--url`, the CLI does not fall back to config or environment creden
165
165
166
166
```bash
167
167
openclaw gateway health --url ws://127.0.0.1:18789
168
+
openclaw gateway health --port 18789
168
169
```
169
170
170
171
The HTTP `/healthz` endpoint is a liveness probe: it returns once the server can answer HTTP. The HTTP `/readyz` endpoint is stricter and stays red while startup plugin sidecars, channels, or configured hooks are still settling. Local or authenticated detailed readiness responses include an `eventLoop` diagnostic block with event-loop delay, event-loop utilization, CPU core ratio, and a `degraded` flag.
171
172
173
+
<ParamFieldpath="--port <port>"type="number">
174
+
Target a local loopback Gateway on this port.
175
+
</ParamField>
176
+
172
177
### `gateway usage-cost`
173
178
174
179
Fetch usage-cost summaries from session logs.
@@ -340,8 +345,13 @@ If multiple probe targets are reachable, it prints all of them. An SSH tunnel, T
340
345
```bash
341
346
openclaw gateway probe
342
347
openclaw gateway probe --json
348
+
openclaw gateway probe --port 18789
343
349
```
344
350
351
+
<ParamFieldpath="--port <port>"type="number">
352
+
Use this port for the local loopback probe target and SSH tunnel remote port.
353
+
</ParamField>
354
+
345
355
<AccordionGroup>
346
356
<Accordiontitle="Interpretation">
347
357
- `Reachable: yes` means at least one target accepted a WebSocket connect.
0 commit comments