
30 November 2026 · 5 min
How to test Cloudflare Search for Agents with real customer questions
Can an AI agent find the right source on your site? Test Cloudflare Search for Agents against genuine questions about delivery, returns and product details.




A customer asks an AI assistant whether they can return an opened item. Your shop has a returns policy, a product page and an old FAQ. The FAQ mentions the deadline. The exception for opened goods lives in the returns policy. Which page will the assistant find?
Cloudflare introduced Search for Agents in beta on November 25, 2026. It indexes content from your domain and exposes a search endpoint at /.well-known/search. Cloudflare advertises it in the page HTML. A client that reads that metadata can submit a question and receive relevant excerpts in Markdown with source references. The assistant still writes the answer. This is a search index for your own site. Whether an assistant uses it, and whether your pages surface in Google or ChatGPT answers, are separate questions. Cloudflare announcement · Search for Agents documentation
Give each question an expected source
Start with questions your sales or support team actually hears. For a shop, one might be “Can I return an opened item from Austria?” Before you run it, write down which page should appear and which sentence explains the exception. A general shipping page may contain the right product name and still leave the question unanswered. Check that the result contains the detail the customer needs.
Once the index is ready, query the endpoint directly. Replace example.com with the domain where you set up Search for Agents.
curl -fsS -G 'https://example.com/.well-known/search' --data-urlencode 'q=Can I return an opened item from Austria?'
We tried the same approach on Cloudflare’s public developer documentation. For a question about image transformations on workers.dev, our first result was a tutorial about uploads to R2. The instructions for URL transformations came third. That is the difference between finding something on the right subject and finding the source an answer should rely on. A high relevance score alone cannot tell you whether the passage answers the question. Cloudflare’s query example
Put the exception in the same paragraph
A page may be perfectly clear when you read it from top to bottom. An excerpt can lose an important condition. If the deadline appears at the top of the page and the exception sits three sections down, a result might contain only the deadline.
Start the revision with a heading that names the actual case, such as “Returning an opened item from Austria”. Put the time limit, conditions and exception together in the next paragraph. Check old campaign pages for conflicting terms. On a bilingual site we would ask the same question in English and German and verify the source in each language.
Ask again after the update
Review what should be publicly searchable before enabling the feature. Cloudflare says requests to the endpoint remain subject to your Web Application Firewall and AI Crawl Control configuration. The beta is available on all plans. Ingestion, storage and queries follow AI Search pricing and limits. After editing a page, allow for index synchronisation and search caching before you compare results. Setup and default settings
For a first trial, pick the questions where a wrong answer ends up in the support inbox. Save the expected page and the sentence that settles each question. After the next content update, you can check whether search gives an assistant better evidence to work with.



