docs(rest-api): document the FastAPI /health endpoint - #2107
Conversation
Add a short section to the REST API server endpoints guide covering the GET /health route exposed by `nat serve`. The endpoint was added in NVIDIA#1466 but was never documented in the public REST API reference, leaving operators without a documented liveness/readiness URL to use behind reverse proxies, Docker HEALTHCHECK, or Kubernetes probes. The new section describes the route, method, response payload, and notes that MCP/FastMCP servers expose their own separate /health routes on different default ports (cross-linking the existing MCP/FastMCP guides). Fixes NVIDIA#2073 Signed-off-by: Rekin226 <abdoulrachid03@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe REST API endpoint guide adds documentation for ChangesREST API health documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Hi @mdemoret — just a gentle nudge on this one. This PR closes #2073 (the docs-only issue you greenlit for a small PR). It's been waiting on the |
|
This is a duplicate of #2094 |
Summary
Adds a short Health Check Endpoint section to the REST API server endpoints guide (
docs/source/reference/rest-api/api-server-endpoints.md) so that theGET /healthroute exposed bynat serveis discoverable in the public docs.The endpoint was added in #1466 but was never documented in the REST API reference, leaving operators without a documented liveness/readiness URL to use behind reverse proxies, Docker
HEALTHCHECK, or Kubernetes probes.What the new section covers
/health), method (GET), and the{"status":"healthy"}response./healthroutes and default ports.Placement
Inserted immediately after HTTP Interactive Extensions and before Start the NeMo Agent Toolkit Server, so a reader scanning "Default Endpoint Paths" hits it early without disturbing the versioned endpoint table (the health route is not versioned).
Scope
Docs-only. No source, config, or endpoint-registration code changed.
Closes #2073
Summary by CodeRabbit
GET /healthendpoint.