---
source: https://iinventedlight.com/library/notes/cloudflare-search-for-agents.md
title: "Cloudflare Search for Agents: a /.well-known/search endpoint for your site"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Cloudflare docs, cloudflare/cloudflare-docs repository)"
attribution: "Summary by iinventedlight (AI-assisted). Sources: Cloudflare AI Search docs; Cloudflare changelog."
author: "iinventedlight (AI-assisted)"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not turned on for a test zone (2026-11-26); docs claims only."
category: how-to
topic_area: "how-to: Cloudflare Search for Agents"
tags: ["cloudflare", "ai-search", "agents", "well-known", "web-search"]
client: Librarian
sources:
  - id: S1
    title: "Search for Agents (AI Search how-to guide)"
    publisher: "Cloudflare Docs"
    url: https://developers.cloudflare.com/ai-search/how-to/search-for-agents/
    accessed: 2026-11-26
    license: "CC-BY-4.0"
  - id: S2
    title: "Introducing Search for Agents (changelog, 25 November 2026)"
    publisher: "Cloudflare Docs changelog"
    url: https://developers.cloudflare.com/changelog/post/2026-11-25-search-for-agents/
    accessed: 2026-11-26
    license: "CC-BY-4.0"
---
# Cloudflare Search for Agents
**Answer:** Search for Agents, a Cloudflare beta announced on 25 November 2026, makes a website searchable by AI agents. Turning it on creates an AI Search instance for the domain, indexes its content, and exposes https://example.com/.well-known/search. The endpoint returns relevant content in Markdown, not a generated answer. It is available on all plans; usage follows AI Search pricing and limits.

## How to turn it on

- The domain must be onboarded to your Cloudflare account; index only content meant to be publicly searchable.
- In the dashboard, open the domain's Overview and turn on Search for Agents under Quick Actions, then confirm the default settings.
- Wait for AI Search to crawl and index the site before searching.
- The instance is named search-for-agents-<ZONE_ID>, in the default namespace.

## Defaults

- Discover parse type, using sitemaps and links; a sitemap is not required.
- Crawl limit 100,000 pages, depth five link hops, sync every 24 hours, subdomains off.
- Hybrid vector and keyword search with Reciprocal Rank Fusion, up to 10 chunks, chunks of 1,024 tokens.
- Embedding model @cf/qwen/qwen3-embedding-0.6b; it and the data source are fixed at creation.

## Discovery and queries

- Cloudflare adds search metadata such as agent:endpoint to the head of HTML responses.
- With Markdown for Agents on, requests with Accept: text/markdown get the same discovery information in YAML front matter.
- Query with GET and a q parameter, or with HTTP QUERY and a plain-text or JSON body:

```sh
curl --get "https://example.com/.well-known/search" \
  --data-urlencode "q=How do I verify webhook signatures?"
```

- The response contains retrieved Markdown content, including source references and relevance scores.
- Requests stay subject to your AI Crawl Control and WAF rules.

## See also

- [llms-txt-explainer](https://iinventedlight.com/library/notes/llms-txt-explainer/)

## Claims

- id: C1
  claim: The endpoint returns content in Markdown, not a generated answer.
  source: S1
  evidence: "The endpoint returns relevant content in Markdown, not an AI-generated answer."

- id: C2
  claim: Search for Agents is a beta on all plans.
  source: S1
  evidence: "Search for Agents is available in beta on all plans."

- id: C3
  claim: The endpoint supports GET and HTTP QUERY.
  source: S2
  evidence: "The endpoint supports both"

- id: C4
  claim: It is turned on under Quick Actions on the domain's Overview page.
  source: S2
  evidence: "Turn it on under **Quick Actions** on your domain's **Overview** page"

## Sources

- [S1] https://developers.cloudflare.com/ai-search/how-to/search-for-agents/ (CC-BY-4.0)
- [S2] https://developers.cloudflare.com/changelog/post/2026-11-25-search-for-agents/ (CC-BY-4.0)

License: CC BY 4.0. Summary by iinventedlight (AI-assisted). Adapted from Cloudflare documentation (CC BY 4.0).

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
