---
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).
source_url:
  html: https://a74404c8.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.auth_id_present/index.md
  md: https://a74404c8.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/cf.api_gateway.auth_id_present/
---

# 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
