---
title: "AI Search External User Agent: What It Does & How to Block It"
description: "AI Search External (Cloudflare): user agent string, robots.txt rules, IP verification and what blocking it does to SEO and AI visibility."
url: "https://justinha.info.vn/bots/ai-search/cloudflare-ai-search-external/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[AI Search Crawlers](https://justinha.info.vn/bots/ai-search/)

# AI Search External *user agent*

## Key Takeaways

- AI Search External: Fetches and indexes external-domain content reached by AI Search discovery when configured to follow links beyond the customer account.
- AI Search External uses the operator-documented robots.txt token Cloudflare-AI-Search-External.
- AI Search External has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by [Cloudflare](https://justinha.info.vn/bots/company/cloudflare/)

AI searchOfficial docs Your choice

AI Search External: Fetches and indexes external-domain content reached by AI Search discovery when configured to follow links beyond the customer account.

## What identifies AI Search External?

| Identifier | Cloudflare-AI-Search-External |
| --- | --- |
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |

## What is AI Search External?

AI Search External: Fetches and indexes external-domain content reached by AI Search discovery when configured to follow links beyond the customer account.

The operator documentation linked below describes this service. Use the documented identity to investigate requests, and verify the sending infrastructure separately: a User-Agent header can be copied by another client.

Discover mode skips pages disallowed by robots.txt. It declares search and ai-input purposes; a no signal for either rejects the crawl. [Source](https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/).

- Discover mode skips pages disallowed by robots.txt. It declares search and ai-input purposes; a no signal for either rejects the crawl.

## Should you block AI Search External?

Choose whether to allow AI Search External based on its documented purpose, the service you use and the load it places on your website.

| Effect on search rankings | An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. |
| --- | --- |
| Effect on AI visibility | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| Follows robots.txt | Yes |
| Recommendation | Your choice |

## How to decide whether to allow AI Search External

Start with the operator documentation linked in this profile. [Check the source](https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/).

- **AI search:** If discovery in the associated AI product matters, test access to public pages you want it to find. Access alone does not guarantee inclusion or citations.
- **Access policy:** Check the paths and hosts covered by the published or reported policy. A robots.txt rule is not an access control.
- **What to check in logs:** Look for ` Cloudflare-AI-Search-External `, then compare the paths, response codes and request volume before and after your change. Use the token as a starting point in logs. This profile does not list an IP range or reverse DNS method, so the user agent alone is insufficient to verify the operator.

## How do you block or allow AI Search External?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example ` https://example.com/robots.txt `. The token **Cloudflare-AI-Search-External** is matched case-insensitively.

robots.txt: block

```
# Block AI Search External
User-agent: Cloudflare-AI-Search-External
Disallow: /
```

robots.txt: allow

```
# Allow AI Search External
User-agent: Cloudflare-AI-Search-External
Allow: /
```

robots.txt: partial

```
# Keep AI Search External out of private areas only
User-agent: Cloudflare-AI-Search-External
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to AI Search External
if ($http_user_agent ~* "(Cloudflare\-AI\-Search\-External)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to AI Search External
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Cloudflare\-AI\-Search\-External) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Cloudflare-AI-Search-External")
```

## How can you verify AI Search External traffic?

No IP list or reverse-DNS method for AI Search External is linked in this profile. The header alone cannot authenticate the sender. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.

## How do you find AI Search External in server logs?

Search the web server access log for the literal identifier. The command below counts candidate Cloudflare-AI-Search-External requests per URL on Nginx or Apache.

```
grep -iF -- 'Cloudflare-AI-Search-External' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## AI Search External FAQ

What is the AI Search External user agent?

AI Search External uses the robots.txt token "Cloudflare-AI-Search-External". No full user-agent sample is recorded in this profile. Treat a token match as a candidate identity, not authentication.

Does AI Search External respect robots.txt?

Cloudflare states that AI Search External follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking AI Search External hurt my SEO?

An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed.

How do I block AI Search External in robots.txt?

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: Cloudflare-AI-Search-External" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

How can I verify a request really comes from AI Search External?

Not reliably. Cloudflare verification is not established by the links recorded for AI Search External. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.

How do I see if AI Search External visits my website?

Search your server access log for "Cloudflare-AI-Search-External", for example with: grep -i "Cloudflare-AI-Search-External" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: [Cloudflare crawler documentation](https://developers.cloudflare.com/ai-search/configuration/data-source/website/parse-types/). Content updated November 27, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[Cloudflare Healthchecks Cloudflare Product feature](https://justinha.info.vn/bots/platform-fetchers/cloudflare-healthchecks/)   [Cloudflare Prefetch Cloudflare Product feature](https://justinha.info.vn/bots/platform-fetchers/cloudflare-prefetch/)   [Cloudflare SSLDetector Cloudflare Product feature](https://justinha.info.vn/bots/platform-fetchers/cloudflare-ssldetector/)   [Cloudflare-AutoRAG Cloudflare AI searchProduct feature](https://justinha.info.vn/bots/ai-search/cloudflare-autorag/)   [Cloudflare-SpeedTest Cloudflare Product feature](https://justinha.info.vn/bots/seo-tools/cloudflare-speedtest/)   [Cloudflare-Traffic-Manager Cloudflare Product feature](https://justinha.info.vn/bots/platform-fetchers/cloudflare-traffic-manager/)

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
