> This page is for version v1.7.0.
> For other versions, use one of these documentation indexes:
> - Latest (v1.6.2) (default): https://docs.nvidia.com/dynamo/latest/llms.txt
> - dev: https://docs.nvidia.com/dynamo/dev/llms.txt
> - v1.6.2: https://docs.nvidia.com/dynamo/v1.6.2/llms.txt
> - v1.7.0: https://docs.nvidia.com/dynamo/v1.7.0/llms.txt
> - v1.6.1: https://docs.nvidia.com/dynamo/v1.6.1/llms.txt
> - v1.6.0: https://docs.nvidia.com/dynamo/v1.6.0/llms.txt
> - v1.5.1: https://docs.nvidia.com/dynamo/v1.5.1/llms.txt
> - v1.5.0: https://docs.nvidia.com/dynamo/v1.5.0/llms.txt
> - v1.4.2: https://docs.nvidia.com/dynamo/v1.4.2/llms.txt
> - v1.4.1: https://docs.nvidia.com/dynamo/v1.4.1/llms.txt
> - v1.4.0: https://docs.nvidia.com/dynamo/v1.4.0/llms.txt
> - v1.3.0: https://docs.nvidia.com/dynamo/v1.3.0/llms.txt
> - v1.2.1: https://docs.nvidia.com/dynamo/v1.2.1/llms.txt
> - v1.2.0: https://docs.nvidia.com/dynamo/v1.2.0/llms.txt
> - v1.1.1: https://docs.nvidia.com/dynamo/v1.1.1/llms.txt
> - v1.1.0: https://docs.nvidia.com/dynamo/v1.1.0/llms.txt
> - v1.0.2: https://docs.nvidia.com/dynamo/v1.0.2/llms.txt
> - v1.0.1: https://docs.nvidia.com/dynamo/v1.0.1/llms.txt
> - v1.0.0: https://docs.nvidia.com/dynamo/v1.0.0/llms.txt
> - v0.9.1: https://docs.nvidia.com/dynamo/v-0-9-1/llms.txt
> - v0.9.0: https://docs.nvidia.com/dynamo/v-0-9-0/llms.txt
> - v0.8.1: https://docs.nvidia.com/dynamo/v-0-8-1/llms.txt
> - v0.8.0: https://docs.nvidia.com/dynamo/v-0-8-0/llms.txt
> - v0.7.1: https://docs.nvidia.com/dynamo/v-0-7-1/llms.txt
> - v0.7.0: https://docs.nvidia.com/dynamo/v-0-7-0/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://docs.nvidia.com/dynamo/llms.txt. For full content including API reference and SDK examples, see https://docs.nvidia.com/dynamo/llms-full.txt.

# Health Check Reference

Dynamo exposes two related health interfaces: HTTP status endpoints for external observers and
optional active checks for idle worker endpoints. For a local procedure, see
[Observe a Local Deployment](/dynamo/v1.7.0/cli/operations/observability#check-deployment-health).

## Endpoint Summary

| Process                     | Default port                           | Path                       | Behavior                                                                                                |
| --------------------------- | -------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------- |
| Frontend                    | `DYN_HTTP_PORT`, default `8000`        | `/live`                    | Reports whether the HTTP service is running or shutting down                                            |
| Frontend                    | `DYN_HTTP_PORT`, default `8000`        | `/health`                  | Reports frontend readiness; `?instances=true` adds discovered endpoints and instances                   |
| Frontend                    | `DYN_HTTP_PORT`, default `8000`        | `/v1/models/<model>/ready` | Reports whether the selected model has ready topology, a usable serving engine, and enabled HTTP routes |
| Worker or standalone router | `DYN_SYSTEM_PORT`, disabled by default | `/live`                    | Reports system status                                                                                   |
| Worker or standalone router | `DYN_SYSTEM_PORT`, disabled by default | `/health`                  | Reports system status                                                                                   |

Set `DYN_SYSTEM_HEALTH_PATH` or `DYN_SYSTEM_LIVE_PATH` before process startup to replace the worker
or router paths. For the frontend, use `DYN_HTTP_SVC_HEALTH_PATH` or `DYN_HTTP_SVC_LIVE_PATH`.

## Frontend Responses

A live frontend returns `200 OK`:

```json
{
  "message": "Service is live",
  "status": "live"
}
```

During graceful shutdown, `/live` remains `200 OK` while the Frontend is draining admitted requests.
After the drain finishes or times out and the service enters the stopping state, `/live` returns
`503 Service Unavailable` with status `shutting_down`.

The frontend `/health` endpoint returns `200 OK` while ready:

```json
{
  "status": "healthy",
  "stage": "ready"
}
```

With the `instances=true` query parameter, the response also lists the endpoints and instances
currently visible through discovery. Building the list serializes every discovered instance, so keep
readiness probes on the default form:

```json
{
  "status": "healthy",
  "stage": "ready",
  "endpoints": [
    "dyn://dynamo.backend.generate"
  ],
  "instances": [
    {
      "namespace": "dynamo",
      "component": "backend",
      "endpoint": "generate",
      "instance_id": 7587888160958628000
    }
  ]
}
```

An empty `endpoints` or `instances` array means the frontend does not currently discover workers; it
does not change the frontend response status by itself. As soon as graceful draining starts, `/health`
returns `503 Service Unavailable` with status `not_ready` and a `stage` value that identifies the
current lifecycle stage. This removes the Frontend from readiness routing before admitted responses
finish.

## Model-Specific Serving Readiness

`GET /v1/models/<model>/ready` checks the selected model's declared worker topology,
usable serving engine, and enabled HTTP inference routes. It does not send a canary inference
request or wait for every worker replica or KV-cache event to arrive. For disaggregated deployments,
the required worker roles must be available before the topology is ready.

| HTTP status               | Meaning                                                                                                                 |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `200 OK`                  | The selected model is ready to serve through its registered HTTP routes                                                 |
| `503 Service Unavailable` | The model is known, but topology, engine initialization, route activation, or frontend lifecycle state prevents serving |
| `404 Not Found`           | The model is not registered in the frontend's local catalog                                                             |

The response retains diagnostic fields such as `model`, `ready`, `reason`, and `namespaces`.
Namespace details describe worker topology; top-level readiness also accounts for the frontend's
local serving state. A diagnostic client can therefore inspect a registered prefill or decode role
in a `503` response even while its required peer is absent. Registration of one role does not mean
the model is ready to serve.

`/health` and `/live` remain independent of model readiness. Operators opt in to model-specific
Kubernetes readiness by selecting this endpoint as the frontend readiness probe; see
[Configure Kubernetes Health Probes](/dynamo/v1.7.0/kubernetes/operations/observability#check-and-customize-health-probes).
Changing a probe does not add inference request gating or prevent requests over existing connections.

> **Warning**
>
> Previously, this endpoint returned `200 OK` with `ready: false` for known but unready models.
> It now returns `503 Service Unavailable` with the diagnostic JSON body preserved. This response
> change affects diagnostic clients even if operators keep probing `/health`.
>
> Clients that need discovery or topology details must parse JSON on both `200` and `503`, rather
> than discarding non-success responses or raising an error before reading the body. Clients checking
> serving readiness should treat `503` as unready and retry; `404` means the model is not yet known.

## System-Status Responses

Workers and standalone routers expose health endpoints only when `DYN_SYSTEM_PORT` is zero or a
positive port. A negative value disables the system-status server.

Before the component is ready, `/health` and `/live` return `503 Service Unavailable`:

```json
{
  "endpoints": {
    "generate": "notready"
  },
  "status": "notready",
  "uptime": {
    "nanos": 313803539,
    "secs": 12
  }
}
```

The worker `/live` and `/health` paths currently report the same system-status payload and status
code. After startup, both paths return `200 OK` with status `ready`:

```json
{
  "endpoints": {
    "clear_kv_blocks": "ready",
    "generate": "ready",
    "load_metrics": "ready"
  },
  "status": "ready",
  "uptime": {
    "nanos": 356504530,
    "secs": 18
  }
}
```

`DYN_SYSTEM_STARTING_HEALTH_STATUS` controls the initial status. The legacy
`DYN_SYSTEM_USE_ENDPOINT_HEALTH_STATUS` variable is deprecated and no longer controls endpoint
selection in the current runtime.

## Active Canary Configuration

| Variable                           | Default         | Purpose                                                                                                            |
| ---------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------ |
| `DYN_HEALTH_CHECK_ENABLED`         | `false`         | Enables active checks for registered worker endpoints                                                              |
| `DYN_CANARY_WAIT_TIME`             | `10`            | Seconds without successful endpoint activity before sending a canary                                               |
| `DYN_HEALTH_CHECK_REQUEST_TIMEOUT` | `3`             | Seconds to wait for the canary response; restarts on each completed engine forward pass, up to 10 minutes in total |
| `DYN_HEALTH_CHECK_PAYLOAD`         | Backend default | Optional JSON object or `@/path/to/file.json` canary payload override                                              |

LLM backends supply a minimal inference request that Dynamo sends through the registered worker
endpoint. Successful response chunks from normal traffic reset the idle timer, including when client
delivery fails. This reports engine progress, not completion of every request. For the lifecycle and
rationale, see
[Observability Architecture](/dynamo/v1.7.0/knowledge-base/concepts/observability-architecture#active-worker-health-checks).

A canary sent while the engine is busy waits behind the work already running. A long prefill streams
nothing until it ends, so the canary can wait for minutes. On workers that publish forward-pass
metrics (`DYN_FORWARDPASS_METRIC_PORT`, which the operator sets), each completed forward pass
restarts the canary's timeout: the canary fails once `DYN_HEALTH_CHECK_REQUEST_TIMEOUT` passes with
neither a response nor a completed forward pass, or after 10 minutes in total. A forward pass only
extends that wait. It does not reset the idle timer or mark the endpoint ready, and no second canary
is sent while one is waiting.

The timeout stays fixed in these cases:

* The worker does not publish forward-pass metrics: it runs outside the operator without
  `DYN_FORWARDPASS_METRIC_PORT`, a vLLM worker sets its own `--scheduler-cls`, or an SGLang worker
  runs in snapshot mode.
* A single forward pass runs longer than the timeout, such as a first-request compile.

For vLLM-Omni workers, see [vLLM-Omni Health Checks](#vllm-omni-health-checks).

### vLLM-Omni Health Checks

Applies only to aggregated [vLLM-Omni workers](/dynamo/v1.7.0/reference/backends/v-llm-omni-configuration).
An aggregated worker serves the complete model pipeline through one Dynamo endpoint. A
[stage worker](/dynamo/v1.7.0/knowledge-base/modular-components/backends/v-llm/v-llm-omni-disaggregated-serving)
runs a single stage in a disaggregated pipeline. The Omni orchestrator coordinates the pipeline;
stage replicas are separate instances of a stage.

With `DYN_HEALTH_CHECK_PAYLOAD` unset or set to `{}`, the worker calls the engine's native
`AsyncOmni.check_health()` method to check the orchestrator and stage replicas without generating
media.

To test inference, set `DYN_HEALTH_CHECK_PAYLOAD` to a request validated against the exact model and
output modality. Some audio models require a supported voice, instructions, or reference audio;
image-editing or image-to-video models can require reference images. Set
`DYN_HEALTH_CHECK_REQUEST_TIMEOUT` to allow the request to complete, including queueing under the
expected load.

Custom canaries read the full response and reject reported generation errors. The response must
finish with a final result containing nonempty media data or a media URL, or with a completed chat
response. Progress updates alone do not pass. The canary acknowledges success only after the selected
inference request completes.

An invalid JSON override, unreadable payload file, or payload that fails the Omni request schema
stops worker initialization with a configuration error.

#### Limits of Omni Health Signals

Worker health responses report `ready` or `notready`; the interpretations below are not additional
HTTP response fields.

| Observation                                              | Supported interpretation                                                          | Not established by this result                                                                                                  |
| -------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Default native check passes                              | No failure was detected by the native orchestrator/stage checks                   | Inference is making progress or will complete                                                                                   |
| A nonempty replicated stage pool passes its native check | The checked pool has at least one live replica                                    | Every replica is healthy or full configured capacity is available                                                               |
| Payload passes request-schema validation                 | The request has an accepted protocol shape                                        | This checkpoint supports the task, voice, reference media, or other model-specific options                                      |
| Inference canary times out                               | This request did not complete within its deadline                                 | Whether the cause is queueing, a deadlock, a slow operation, or GPU failure                                                     |
| Inference canary succeeds                                | This request completed with media output or a chat response and no reported error | Every task works, generated media is semantically correct or decodable, returned URLs are reachable, or the HTTP frontend works |

Decoding generated media, downloading URLs from
[media storage](/dynamo/v1.7.0/reference/backends/v-llm-omni-configuration#media-storage), and sending a request through
the HTTP frontend require separate checks. Use engine logs and metrics to investigate a failed check
before deciding to restart the worker.

## Related Reference

* [Environment Variables](/dynamo/v1.7.0/reference/observability/environment-variables#health-checks)
* [Local Observability Stack](/dynamo/v1.7.0/reference/observability/local-stack)
* [Configure Kubernetes Health Probes](/dynamo/v1.7.0/kubernetes/operations/observability#check-and-customize-health-probes)