---
title: cf.api_gateway.auth_id_present · Cloudflare Ruleset Engine docs
description: Indicates whether the request contained an API session
  authentication token, as defined by API Shield's saved [session
  identifiers](/api-shield/get-started/#session-identifiers).
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.auth_id_present/
  md: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.auth_id_present/index.md
---

# cf.api\_gateway.auth\_id\_present

`cf.api_gateway.auth_id_present` Boolean

Indicates whether the request contained an API session authentication token, as defined by API Shield's saved [session identifiers](https://developers.cloudflare.com/api-shield/get-started/#session-identifiers).

Categories:

* Request
