Skip to content

Commit d5dd44d

Browse files
authored
docs: add POST /close to API Endpoints section in README (#7572)
The `POST /close` graceful-shutdown endpoint was fully implemented and auth-protected but absent from the API Endpoints reference in `README.md`, making it undiscoverable without reading source code. ## Changes - **README.md** — Added `POST /close` entry to the API Endpoints list, noting it is auth-protected when an agent ID is configured and intentionally not HMAC-protected (consistent with `/health`).
2 parents b369530 + c6f5754 commit d5dd44d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ For the full gateway field list (including rate limiting, tracing, keepalive, an
226226
- `POST /mcp/{serverID}` — Routed mode (default): JSON-RPC request to specific server
227227
- `POST /mcp` — Unified mode: JSON-RPC request routed to configured servers
228228
- `GET /health` — Health check; returns JSON `{"status":"healthy" | "unhealthy","specVersion":"...","gatewayVersion":"...","servers":{...}}`
229+
- `POST /close` — Graceful shutdown; terminates all backend servers and exits the process (auth-protected when agent ID is configured; not HMAC-protected)
229230
- `GET /reflect` — Unauthenticated DIFC label snapshot for all known agents (gateway and proxy mode)
230231

231232
### `GET /reflect` response schema

0 commit comments

Comments
 (0)