AI Crawler Control, Behavior Policies and robots.txt Directives
How AI Crawl Control monitors AI bots, sets Search, Agent, and Training policies, syncs robots.txt, and enforces blocks with WAF.
This page summarizes Cloudflare AI Crawl Control and related bot policies: how to see which AI services hit your site, express preferences in robots.txt, and enforce allow or block decisions at the edge.
AI Crawl Control: monitor and block AI crawlers on your site
Section titled “AI Crawl Control: monitor and block AI crawlers on your site”AI Crawl Control (formerly AI Audit) is available on all Cloudflare plans and works without extra setup for proxied zones.
Monitor and control how AI services access your website content.
— Cloudflare, AI Crawl Control
You can use it to see crawler activity, set allow or block rules per crawler, track robots.txt compliance, and optionally explore pay-per-crawl pricing (private beta). The Overview tab is the default entry point; per-crawler actions live under Crawlers, and traffic analysis under Metrics (analyze AI traffic).
Account administrators can assign the AI Crawl Control Read Only role for domain-scoped view-only access to Overview, Crawlers, Metrics, Directives (formerly Robots.txt), and Settings.
When publishers and documentation sites use it
Section titled “When publishers and documentation sites use it”Publishers use AI Crawl Control to see which AI crawlers access articles and to allow beneficial bots while blocking others (AI Crawl Control — publishers). Documentation teams use it to learn how crawlers interact with technical docs; Cloudflare’s own docs case showed preview environments absorbing a large share of AI crawls until robots.txt and security rules limited access (control how AI crawls your docs).
Search, Agent, and Training: behavior-based AI bot policies
Section titled “Search, Agent, and Training: behavior-based AI bot policies”Cloudflare does not treat all “AI bots” as one class. It classifies traffic by behavior—what the automated client does on your site—and a single bot can map to more than one behavior (AI bots).
| Behavior | What it does on your site |
|---|---|
| Search | Collects or indexes content to answer questions later (you typically expect referrals or similar value). |
| Agent | Automated activity in real time on a person’s behalf (chat fetch bots, browser-use agents). |
| Training | Crawls content to train or fine-tune a model. |
Not all AI traffic is the same. Now, all customers — including those on those on the Free plan — can manage AI crawlers based on what they actually do on your site.
— Cloudflare, New options to manage AI traffic
Configure these under Security Settings → Configure AI bot policies (Block AI Bots). Each behavior supports Allow, Block (on all pages), or Block on pages with ads (ad detection limits blocking to monetized pages).
From September 15, 2026, new domains get updated defaults: Training and Agent are blocked on ad-serving pages while Search stays allowed; mixed Search+Training crawlers are affected by Training blocks (Block AI Bots — new defaults). Customers can opt out before that date via Cloudflare’s documented opt-out flow linked from the same page.
Plan differences for AI Crawl Control itself are summarized in Get started — plan comparison: all plans get user-agent–based detection and a 24-hour analytics window; Enterprise with Bot Management adds detection IDs, longer analytics windows, and pay-per-crawl options.
robots.txt, Bot Preference Sync, and Content Signals
Section titled “robots.txt, Bot Preference Sync, and Content Signals”robots.txt expresses preferences; it does not technically prevent access. Cloudflare separates signaling from enforcement.
robots.txt compliance is voluntary. The file expresses your preferences, but it does not prevent crawlers from accessing your content at a technical level.
— Cloudflare, robots.txt setting
Bot Preference Sync (managed directives)
Section titled “Bot Preference Sync (managed directives)”With Enable Bot Preference Sync on, Cloudflare prepends managed directives (and the Content Signals Policy) when at least one Search, Agent, or Training policy is Block, Block on pages with ads, or—for Training—Disallow. If every policy is Allow, your robots.txt is served unchanged. Updates appear within seconds after saving policies.
If your origin already returns robots.txt (HTTP 200), managed content is prepended to your file; if none exists, Cloudflare serves a managed file. The Directives tab shows sync status and links to Agent Readiness checks.
Content Signals in robots.txt categorize permitted uses:
search— building a search index and providing results with links and excerptsai-input— inputting content into AI models at query timeai-train— training or fine-tuning models
Optional use levels (immediate, reference, full) describe how much crawled content may be retained (/crawl — Content Signals). Cloudflare may add use=reference in managed content alongside signals such as search=yes, ai-train=no (robots.txt setting — content use).
Cloudflare’s Browser Run /crawl API respects these directives: crawls fail with 400 when declared crawlPurposes or contentUse exceed what the site’s robots.txt allows—operators must narrow crawlPurposes (for example ["search"] only) and set contentUse to reference when the site limits use level.
noindex and infrastructure paths
Section titled “noindex and infrastructure paths”For pages that should not be indexed (for example deprecated docs), Cloudflare uses <meta name="robots" content="noindex"> where appropriate; whether every AI crawler honors it is unsettled (AI consumability — noindex).
Separately, add Disallow: /cdn-cgi/ to robots.txt so crawlers do not waste budget on Cloudflare system paths—unless you need crawlers on transformed images, in which case allow /cdn-cgi/image/ before the broader disallow (/cdn-cgi/ endpoint).
Per-crawler actions, block responses, and WAF enforcement
Section titled “Per-crawler actions, block responses, and WAF enforcement”In Manage AI crawlers, each listed AI crawler can be Allow or Block. Blocking creates or updates a WAF custom rule named AI Crawl Control (AI Crawl Control with Cloudflare WAF).
On paid plans you can return 403 Forbidden or 402 Payment Required with a custom body when blocking (enhanced crawler insights and custom 402 responses).
Request order and rule conflicts
Section titled “Request order and rule conflicts”Traffic flows through WAF custom rules (including AI Crawl Control blocks), then Bot Solutions, then pay-per-crawl (order of precedence).
| Symptom | What to check |
|---|---|
| Allowed crawler still blocked | Upstream WAF rules may block before the AI Crawl Control rule; allowed bots are not in the AI Crawl Control block expression. |
| Blocked crawler still reaches origin | Skip, redirect, or transform rules may bypass WAF; move AI Crawl Control higher in the custom rule list. |
| Dashboard and WAF disagree | Edits in WAF are not mirrored in the Crawlers UI; use the dashboard for routine allow/block, WAF for path exceptions or extra user agents (extending the WAF rule). |
Custom WAF edits (path exceptions, extra user agents, hostname clauses) are preserved when you later change crawler actions in the dashboard unless the expression is unparseable—then a warning appears on the Crawlers page (Advanced WAF customization).
AI Crawl Control can also enforce robots.txt via an automatic WAF rule (AI Crawl Control launch).
Redirects for AI Training and canonical URLs
Section titled “Redirects for AI Training and canonical URLs”Redirects for AI Training issues a 301 to the rel=canonical target for verified AI training crawlers when canonical points to a different same-origin URL. Humans, search crawlers, and AI Search agents still get the original page. Enable it under AI Crawl Control → Quick Actions (Pro, Business, Enterprise).
Metrics, compliance tracking, and related controls
Section titled “Metrics, compliance tracking, and related controls”The Metrics tab supports path pattern grouping (/blog/*, /docs/*), referral trends by operator, bytes transferred per crawler, and image exports. Per-crawler drilldowns link to Cloudflare Radar and Security Analytics (crawler drilldowns).
The Directives tab tracks how crawlers interact with your robots.txt (track robots.txt). For operator-side transparency, Microsoft’s AI Performance Report in Bing Webmaster Tools shows citations and grounding queries for Copilot experiences.
Optional layers beyond AI Crawl Control:
- AI Labyrinth — honeypot links for bots that ignore no-crawl signals; does not block requests but logs AI Labyrinth Crawls in Security Analytics.
- Block AI Bots — behavior presets at zone level, complementary to per-crawler controls.
- Bot solutions — pattern-based identification alongside verified bots (AI Crawl Control with Cloudflare Bots).
Cloudflare states that Web Search API operators commit to verified-bot compliance and robots.txt respect, with source links in results (About Web Search API — crawler standards).
Common mistakes
Section titled “Common mistakes”- Relying on
robots.txtalone for sensitive or monetized content without WAF or AI Crawl Control blocks. - A zone-wide Block on Training without using Disallow AI Training, unintentionally cutting off
GooglebotorBingbotsearch indexing. - Leaving preview or staging hosts crawlable; docs teams often need explicit
Disallowor security blocks (control how AI crawls your docs). - Other WAF rules blocking Verified Bots needed for SEO—see Improve SEO — troubleshooting.
- Editing the AI Crawl Control WAF rule for exceptions but expecting those changes in the Crawlers dashboard.
How to check this on your site
Section titled “How to check this on your site”-
Open AI Crawl Control for your zone and review Overview and Crawlers for active AI user agents and allow/block status.
-
Under Security Settings → Configure AI bot policies, confirm Search, Agent, and Training match your intent (especially Disallow AI Training vs Block for mixed-use crawlers) per Block AI Bots.
-
Fetch
https://your-domain/robots.txtand verify Bot Preference Sync prepends managed directives when policies require it (robots.txt setting); use the Directives tab for compliance views. -
If blocks misbehave, review custom WAF rule order and conflicts per AI Crawl Control with Cloudflare WAF; for search visibility issues, check verified-bot allowances in Improve SEO and, for Microsoft properties, Bing Webmaster Tools AI Performance.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about so it can be corrected.