---
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.
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.request_violates_schema/
  md: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.request_violates_schema/index.md
---

# 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
