From 0df235fa02a05ec93ad5357d9ca8212314ccc2d5 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 21 Aug 2026 13:14:54 +0000 Subject: [PATCH] docs: link "This request should fail" UI option to shouldFail construct property --- detect/synthetic-monitoring/api-checks/configuration.mdx | 2 +- detect/uptime-monitoring/url-monitors/configuration.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/detect/synthetic-monitoring/api-checks/configuration.mdx b/detect/synthetic-monitoring/api-checks/configuration.mdx index 6977306c..b9cfd963 100644 --- a/detect/synthetic-monitoring/api-checks/configuration.mdx +++ b/detect/synthetic-monitoring/api-checks/configuration.mdx @@ -20,7 +20,7 @@ Start by specifying the endpoint you want to track. - **IP family**: Defaults to IPv4. - **Skip SSL**: Skip SSL certificate validation. - **Follow redirects**: Automatically follow 30x redirects. -- **This request should fail**: Treat HTTP error codes (4xx and 5xx) as passed. Please note that successful responses still pass. Only failed assertions will cause the check to fail. +- **This request should fail**: Treat HTTP error codes (4xx and 5xx) as passed. Please note that successful responses still pass. Only failed assertions will cause the check to fail. In [Monitoring as Code](/concepts/monitoring-as-code), this maps to the [`shouldFail`](/constructs/api-check) boolean property on the `ApiCheck` construct. ## Body diff --git a/detect/uptime-monitoring/url-monitors/configuration.mdx b/detect/uptime-monitoring/url-monitors/configuration.mdx index f5909aad..7c95a64a 100644 --- a/detect/uptime-monitoring/url-monitors/configuration.mdx +++ b/detect/uptime-monitoring/url-monitors/configuration.mdx @@ -18,7 +18,7 @@ Monitor public URLs by specifying the endpoint you want to track. * **IP family:** Choose between IPv4 (default) or IPv6 * **Follow redirects:** Automatically follow 30x redirects * **Skip SSL:** Skip SSL certificate validation -* **This request should fail:** Treat HTTP error codes (4xx and 5xx) as passed. Please note that successful responses still pass. Only failed assertions will cause the check to fail +* **This request should fail:** Treat HTTP error codes (4xx and 5xx) as passed. Please note that successful responses still pass. Only failed assertions will cause the check to fail. In [Monitoring as Code](/concepts/monitoring-as-code), this maps to the [`shouldFail`](/constructs/url-monitor) boolean property on the `UrlMonitor` construct. ### Assertions