cf.llm.prompt.pii_detected
cf.llm.prompt.pii_detected Boolean Indicates whether any personally identifiable information (PII) has been detected in the LLM prompt included in the request.
Equivalent to checking if the cf.llm.prompt.pii_categories field is not empty.
Requires a Cloudflare Enterprise plan. You must also enable Firewall for AI.
 Categories: 
   - Request
 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Directory
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- © 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark