Skip to content

Docs: document nat serve /health endpoint in REST API guide #2073

Description

@maxpetrusenkoagent

Problem

nat serve now exposes a FastAPI GET /health endpoint, but the public REST API server endpoints guide does not mention it. The guide lists the workflow/chat routes and shows how to start nat serve, but an operator looking for a liveness/readiness URL has no documented route to use.

Self-hosted/operator use case

When running NeMo Agent Toolkit workflows behind a reverse proxy, process supervisor, Docker healthcheck, or Kubernetes-style readiness/liveness probe, I need a stable documented endpoint that can be checked without sending an actual workflow request or requiring model/API credentials.

The MCP and FastMCP server guides already document their health checks, so the FastAPI nat serve path feels like the missing piece for production deployment docs.

Evidence inspected

Expected behavior

The REST API server endpoints documentation should include the FastAPI server health route, probably near "Default Endpoint Paths" or "Start the NeMo Agent Toolkit Server":

curl -s http://localhost:8000/health

Expected response:

{"status":"healthy"}

It would also help to state that this is intended for liveness/readiness probes and does not execute a workflow.

Suggested implementation shape

Small docs-only update:

  1. Add GET /health to docs/source/reference/rest-api/api-server-endpoints.md.
  2. Mention that it returns HTTP 200 with {"status":"healthy"}.
  3. Cross-link, if desired, from the serving/deployment section or REST endpoint table.
  4. Optionally add an explicit note that MCP/FastMCP have separate health-check docs and default ports.

Duplicate search performed

I searched open and recent closed issues/PRs before filing:

Willingness to contribute

Happy to open a small docs PR for this if maintainers agree the REST API endpoints guide is the right place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions