> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/devolutions-server-health-and-readiness-checks.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Devolutions Server health and readiness checks

Describes the Devolutions Server /health and /ready endpoints used by load balancers and monitoring tools, with their 200 and 503 responses.

Devolutions Server exposes two endpoints that load balancers, container orchestrators, and monitoring tools can call to check whether an instance can receive traffic. Both endpoints accept anonymous `GET` requests: no sign-in or API key is needed. Each endpoint is available at two addresses, for example `https://dvls.example.com/health` and `https://dvls.example.com/api/health`.

<table><thead><tr><th width="160">ENDPOINT</th><th>RESPONSE</th></tr></thead><tbody><tr><td><code>/health</code><br><code>/api/health</code></td><td><ul><li><code>200</code>: Devolutions Server is healthy.</li><li><code>503</code> with the body <code>{"reason":"no_active_scheduler"}</code>: no active scheduler service is running for the instance.</li></ul></td></tr><tr><td><code>/ready</code><br><code>/api/ready</code></td><td><ul><li><code>200</code>: Devolutions Server is healthy and ready for use.</li><li><code>503</code> with the body <code>{"reason":"unhealthy:no_active_scheduler"}</code>: no active scheduler service is running for the instance.</li><li><code>503</code> with the body <code>{"reason":"in-maintenance"}</code>: the instance is in maintenance mode while it runs the maintenance tasks required at startup, such as data migrations after an upgrade. In a high-availability topology, every instance that shares the database reports <code>in-maintenance</code> until the instance running the tasks finishes them.</li></ul></td></tr></tbody></table>

The scheduler check applies to Devolutions Server instances hosted in IIS. An instance that runs on the Kestrel web server, such as a Docker container, always reports itself as healthy, and `/ready` then returns `503` only in maintenance mode.

Neither endpoint tests the connection to the database. To troubleshoot a `503` response caused by the scheduler, check in the ***Companions*** tab of the Devolutions Server Console that the Devolutions Server scheduler service is installed and started.

For more information on the scheduler, see [Scheduler service general information](https://docs.devolutions.net/server/knowledge-base/knowledge-base-articles/scheduler-service-general-information.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/knowledge-base/troubleshooting-articles/devolutions-server-health-and-readiness-checks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
