PuppyIP Resource Center
Cloud Operations 5 min Published 2026-11-25

How to set up Cloudflare Search for Agents and test its endpoint

Cloudflare launched Search for Agents in beta on November 25, 2026. Enabling it for an onboarded domain creates a site index, with matching Markdown available at /.well-known/search. Identify the pages you want searchable, then use known questions to verify the results.

Cloudflare Search for Agents AI Search Website search Workers

Service eligibility and regional restrictions

PuppyIP serves only compliant overseas businesses and their authorized personnel. Proxy services are not available in mainland China. The service may only be used for lawful business activities outside mainland China. Use of this service within mainland China is prohibited.

Hosting a proxy IP or server overseas does not change these restrictions. The service must not be provided to end users in mainland China through relaying, forwarding, sharing or resale. Before use, read the Terms of Service.

Key Takeaways

  • The beta is available on all Cloudflare plans. Crawling and billing follow the account's AI Search and Workers rules.
  • The default crawl finds pages through sitemaps and links, follows up to five link hops, and excludes subdomains.
  • GET takes a q parameter. HTTP QUERY accepts text or JSON. The response can include source references and relevance scores.

Check what the toggle creates

On a test domain onboarded to Cloudflare, open Overview and look for Search for Agents under Quick Actions. Review the defaults and pricing notice before enabling it. Cloudflare creates an AI Search instance in the default namespace using search-for-agents- followed by the zone ID. The selected domain is its website data source.

Limit the instance to content you intend to make searchable. Record the expected paths and check the site's AI Crawl Control and WAF settings, which still apply to the endpoint. The instance lets you adjust some index settings. The data source and embedding model are set at creation.

Wait for indexing, then check discovery and retrieval

Discover uses both sitemaps and page links. The crawl cache age and index sync interval are each 24 hours by default. Once the instance has crawled and indexed content, inspect the head of a public HTML page for agent:endpoint and related metadata. When Markdown for Agents is enabled as well, look for discovery details in the Markdown response's YAML front matter.

Choose a specific question answered by one public page, such as a retention period in product documentation. Send a GET to /.well-known/search with q and inspect the Markdown excerpts, source references, and relevance scores. A client can also send HTTP QUERY with UTF-8 text or JSON containing q.

Check crawl scope if results are empty

Compare the target URL with the instance data source, hostname, depth, and path filters. By default the crawl follows at most five link hops and excludes subdomains. Verify that the page entered the index, then retry with explicit terms from that page.

For a check, try one page that should be indexed and one that should be excluded, and compare cited sources in the response. Search for Agents returns retrieved passages. The caller generates any answer. Track retrieved results separately from observed citations in external assistants.

Review crawl caps and December billing

A Discover crawl accepts at most 100,000 pages, subject to plan and instance limits. Workers Free allows up to 500 crawled pages daily. Workers Paid removes that daily cap while the per-crawl and instance limits still apply. Verify a small set of public paths first and compare the site's page count with actual indexing progress.

Cloudflare lists December 1, 2026 as the start of AI Search billing. Account use is metered for content ingestion, index storage, and queries. Review existing instances and included usage, then use instance data to check the actual index and query usage from the test.

Sources

Frequently Asked Questions

Do I need to enable Markdown for Agents first?

Search for Agents can run on its own. With both features enabled, Cloudflare also includes discovery information in eligible Markdown responses.

Do I need the public REST or MCP endpoints too?

Search for Agents creates your site's /.well-known/search endpoint. Other public endpoints have their own settings.

Will a matching search result make external assistants cite my site?

A match shows the site's index returned content for that request. Verify attribution using the source links actually shown in an external assistant's answer.