> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/readiness-gating.md).

# Readiness Gating

When an environment restarts, recovers from an outage, or upgrades, visitors see an error page. Readiness gating keeps that error page in place until your site reports that it is ready. Without gating, all queued traffic is released at the first successful response. That can overwhelm a site that is still warming up and take it down again.

## How it works

Umbraco Cloud asks your site whether it is ready by calling the readiness endpoint:

```
GET /umbraco/api/health/ready
```

The endpoint is anonymous. A `200` response means the site is ready. A `503` response means the site is not ready, for example, while it is starting or an upgrade is pending or running.

While the site reports not ready, visitors see exactly what they see during downtime today. That is your custom error page if one is assigned, otherwise the default Umbraco Cloud maintenance page. There is no new page to configure. See the [Error Pages](/umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/error-pages.md) article for how to upload and assign custom error pages.

Once the site reports ready, normal traffic resumes within roughly ten seconds.

{% hint style="info" %}
A site is never stuck behind the error page because of readiness gating. If the readiness endpoint responds `404` for any reason, Umbraco Cloud immediately reverts to the previous behaviour. Traffic is then released at the first successful response, as before.
{% endhint %}

## Supported versions

Readiness gating relies on the readiness endpoint being present on your site:

| Your site                         | Readiness gating                                                                                                                                                                                               |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Umbraco 13 with Umbraco.Cloud.Cms | Active with `Umbraco.Cloud.Cms` version 13.1.0 or later, which ships the readiness endpoint.                                                                                                                   |
| Umbraco 17.6 and later            | Active. Umbraco ships the readiness endpoint natively. See [Health Probes](https://docs.umbraco.com/umbraco-cms/run-in-production/infrastructure-and-ops/server-setup/health-probes) in the CMS documentation. |
| All other versions                | Not active. The endpoint does not exist and behaviour is unchanged.                                                                                                                                            |

For versions without the endpoint, nothing changes and nothing breaks. Custom error pages work exactly as before, and there is nothing you need to do.

## Working on a site while it is gated

While public visitors see the error page, requests to the following paths always go through to the site:

* `/umbraco` - the backoffice and Umbraco APIs, including everything beneath it.
* `/install` - the install and upgrade wizard.
* `/umbraco-signin-oidc` and `/umbraco-signout-oidc` - Umbraco ID sign-in callbacks.
* `/App_Plugins` - backoffice package assets.
* `/sb` - script and style bundles (Umbraco 13 only).

This lets you log in, debug, and complete upgrades while the site is held back. For example, during an upgrade the site may be running but not yet upgraded. Visitors keep seeing the error page while an administrator signs into `/umbraco` and completes the upgrade at `/install`. The site then reports ready and public traffic resumes automatically.

{% hint style="info" %}
The paths are matched as exact path segments. Content pages that start with the same text, such as `/umbraco-cms-guide` or `/installation-guide`, are not affected. They are gated like any other public page.
{% endhint %}

## Related

* [Error Pages](/umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/error-pages.md)
* [Health Probes (Umbraco CMS)](https://docs.umbraco.com/umbraco-cms/run-in-production/infrastructure-and-ops/server-setup/health-probes)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/readiness-gating.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
