Skip to content
audiotale.net
Sign in
NewsNews

Cloudflare Search for Agents: /.well-known/search endpoint for your site, how to turn it on and what it costs

Cloudflare's new toggle creates an AI Search instance for your domain and advertises a Markdown search endpoint to AI agents, with HTTP QUERY support; billing for AI Search starts on 1 December 2026.

audiotale.net team

· 7 min read

Written by AI from the sources linked below. How we use AI

On this page
  1. Key points
  2. What happened
  3. Background
  4. How it works
  5. Discovery
  6. Searching
  7. Defaults
  8. The numbers
  9. What to do
  10. What it means
  11. What we don't know yet
  12. What to watch next
  13. Sources

Cloudflare has launched Search for Agents, a switch in the dashboard that gives a website a search endpoint at /.well-known/search and tells AI agents where to find it. Once it is on, Cloudflare creates an AI Search instance for the domain, crawls and indexes the pages, and returns matching content as Markdown instead of an AI-written answer. It matters for anyone running a docs site or a content site, because agents that find a search endpoint can query it instead of crawling page by page, and because billing for the underlying AI Search service starts on 1 December 2026.

Key points

  • Search for Agents is available on all Cloudflare plans, including Free, and Cloudflare's documentation labels it as in beta.
  • Turning it on creates an AI Search instance named search-for-agents-<ZONE_ID> and exposes https://<your domain>/.well-known/search; results come back as Markdown with source references and relevance scores, not a generated answer.
  • The endpoint answers GET requests with a q parameter and also supports the HTTP QUERY method, defined in RFC 10008 (June 2026), with a plain-text or JSON body.
  • Cloudflare says usage follows AI Search pricing; per its limits page, billing begins on 1 December 2026, and Workers Free accounts get 1,000 semantic and 1,000 full-text queries a month.
  • The endpoint is still subject to your bot management, AI Crawl Control and WAF settings, and Cloudflare says to index only content you intend to make publicly searchable.

What happened

Cloudflare's blog post "Introducing Search for Agents" describes the feature as a toggle on the zone page, under Quick Actions, which can also be enabled through the API. Before this, the company says, pointing AI Search at a website meant creating and configuring an instance by hand and doing the integration work so that search endpoints were reachable from the site's own domain and agents knew about them. The new feature puts that setup behind one setting.

When it is enabled, Cloudflare creates the instance, starts crawling and makes search available from the domain itself, all at the network level. Cloudflare says it already turned the feature on for its own developer documentation ahead of the announcement, and showed an OpenCode coding agent finding the endpoint from the homepage and using it to answer a question about a push size limit for Cloudflare Artifacts.

The company says the design follows from Markdown for Agents, an earlier feature in which Cloudflare's network converts an HTML page to Markdown on request when a client asks for it with content negotiation headers.

Background

Agents that need information from a website have mostly had two options: fetch pages and parse them, or use whatever search a site offers for people. Both are wasteful for a model with a limited context window. Cloudflare's pitch is that a site can offer a retrieval endpoint designed for agents, discoverable without prior knowledge of the site.

Two pieces of surrounding standards work are worth knowing. The first is the .well-known path convention, a fixed place under a domain where clients look for site metadata. The second is the HTTP QUERY method: RFC 10008, "The HTTP QUERY Method", was published in June 2026 on the standards track, with authors J. Reschke, J.M. Snell of Cloudflare and M. Bishop of Akamai. A QUERY is safe and idempotent like GET but carries its input in the request body, so it can be repeated or restarted without concern for partial state changes. It suits search criteria that are too long or awkward for a URL. Cloudflare says curl and undici are among the clients adopting it, and that browser vendors and frameworks are discussing it.

For our earlier coverage of another agent-facing control point, see AWS WAF's new rule group for MCP, A2A and LLM endpoints.

How it works

Discovery

Cloudflare adds metadata to the <head> of HTML responses so that an agent reading any page learns about the endpoint:

<meta name="agent:instructions" content="Use this search API to find relevant content across this site ...">
<meta name="agent:endpoint" content="https://example.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">

If Markdown for Agents is also enabled, a request with Accept: text/markdown gets the same information as YAML front matter at the top of the page.

Searching

A GET request sends the text in q, as in curl --get "https://example.com/.well-known/search" --data-urlencode "q=How do I verify webhook signatures?". A QUERY request sends UTF-8 text with Content-Type: text/plain, or a JSON object with a q field. Both return retrieved content in Markdown, with source references and relevance scores.

Defaults

According to Cloudflare's documentation, a new instance uses these settings, which can be changed later in the instance's Settings tab (the embedding model and data source are fixed at creation):

  • Crawling: the Discover parse type, which finds pages through sitemaps and links without needing a sitemap; a limit of 100,000 pages, subject to instance limits; five link hops from the start URL; a 24-hour crawl cache and sync interval; subdomains not included.
  • Indexing: hybrid search (vector plus keyword), the @cf/qwen/qwen3-embedding-0.6b embedding model, 1,024-token chunks with 10% overlap.
  • Retrieval: Reciprocal Rank Fusion, a maximum of 10 chunks, a match threshold of 0.4, query rewriting and reranking off, a similarity cache on with a 48-hour duration.

Because it is a normal AI Search instance, you can also reach it from a Worker, turn on public REST and MCP endpoints, or embed search for human visitors. Those extra endpoints are separate from /.well-known/search, and you do not need them to use the feature.

The numbers

Cloudflare's AI Search limits and pricing page lists what applies. On Workers Free, the daily crawl limit is 500 pages, which Cloudflare's documentation calls the binding limit for a discover crawl on that plan, even though a crawl accepts up to 100,000 pages. Free accounts can hold 100 AI Search instances and 100,000 files per instance. Paid Workers accounts get unlimited instances with a default cap of 5,000, and 1 million files per instance, or 500,000 with hybrid search.

Every account gets, each month, 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries. Cloudflare says AI Search billing begins on 1 December 2026. Beyond the included amounts the listed rates are:

AI Search overage rates listed by CloudflareUS$ (see source for the unit of each)
AI Search overage rates listed by Cloudflare (US$ (see source for the unit of each))
US$ (see source for the unit of each)
Storage, per GB-month2.00
Base ingestion, per million tokens0.75
Semantic and hybrid queries, per 1,0000.75
Full-text queries, per 1,0000.10

Source: Cloudflare AI Search docs, Limits and pricing

The units differ per row, so read the labels rather than comparing bar lengths.

What to do

  • If you run a site on Cloudflare and want agents to find your content: open the domain in the dashboard, go to Overview, find Quick Actions, turn on Search for Agents, review the default settings and pricing notice, and confirm. Wait for the crawl to finish before testing.
  • Before you turn it on: only content you intend to be publicly searchable should be indexed, per Cloudflare's documentation. Check what your sitemap and links expose, including pages reachable only by link.
  • To limit who can use it: requests to the endpoint still go through your AI Crawl Control and Web Application Firewall settings, and the blog says bot management settings apply too.
  • To check that it works: run the GET or QUERY command above against your own domain, then view the page source of any HTML page and look for the agent: meta tags.
  • To watch cost: the instance counts against your AI Search allowance, so look at the instance's usage before 1 December.

What it means

For site owners, this is the lowest-effort way yet to make a site answerable by an agent, with the trade-off that you hand indexing and discovery to Cloudflare. For agent builders, a predictable path and a Markdown response reduce the need for a custom crawler per site, but only for sites that turn it on.

The decision to return retrieved content, not generated answers, is explicit. Cloudflare argues the agent already has a model and a conversation, and needs the relevant information, not another model's attempt to answer. That also keeps your site from producing text that could be wrong under your name.

Publishers have a different question: an endpoint that lets agents pull exactly the passages they need is attractive to builders and may reduce page visits. Cloudflare points to its Agent Readiness page, which covers how to control what agents can see, the format they receive and how they pay, as the place to manage that.

What we don't know yet

  • Real-world quality. Cloudflare shows one working example on its own docs. We have no independent measurements of result quality, or of how many agents actually look for the meta tags.
  • Cost at scale. Billing begins on 1 December, and we cannot say what a typical site's crawl will cost.
  • Which agents use it. The blog shows OpenCode finding and using the endpoint; it does not list other clients.
  • Standards status. The agent: meta tags and the /.well-known/search path are described in Cloudflare's own documentation, and we found no standards document for them.

What to watch next

Watch for the first billing cycle after 1 December, for other CDNs or platforms offering a similar endpoint, and for client support of the HTTP QUERY method as more libraries adopt RFC 10008. Cloudflare also says it wants to hear from site owners making content searchable to agents, so expect changes during the beta.

Sources

Written by

audiotale.net team

The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.