---
title: cf.api_gateway.request_violates_schema · Cloudflare Ruleset Engine docs
description: Indicates whether the request [violated the schema](/api-shield/security/schema-validation/) assigned to the respective saved endpoint.
source_url:
  html: https://a10098fe.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.request_violates_schema/index.md
  md: https://a10098fe.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.request_violates_schema/
---

# cf.api\_gateway.request\_violates\_schema

`cf.api_gateway.request_violates_schema` Boolean

Indicates whether the request [violated the schema](https://developers.cloudflare.com/api-shield/security/schema-validation/) assigned to the respective saved endpoint.

Categories:

* Request
