<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Cloudflare changelogs | AI Search</title><description>Cloudflare changelogs for AI Search</description><link>https://developers.cloudflare.com/changelog/</link><item><title>AI Search - Create, manage, search AI Search instances with Wrangler CLI</title><link>https://developers.cloudflare.com/changelog/post/2026-04-01-ai-search-wrangler-commands/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-04-01-ai-search-wrangler-commands/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; supports a &lt;code&gt;wrangler ai-search&lt;/code&gt; command namespace. Use it to manage instances from the command line.&lt;/p&gt;
&lt;p&gt;The following commands are available:&lt;/p&gt;





































&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Command&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search create&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Create a new instance with an interactive wizard&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search list&lt;/code&gt;&lt;/td&gt;&lt;td&gt;List all instances in your account&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search get&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Get details of a specific instance&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search update&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Update the configuration of an instance&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search delete&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Delete an instance&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search search&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Run a search query against an instance&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;wrangler ai-search stats&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Get usage statistics for an instance&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;The &lt;code&gt;create&lt;/code&gt; command guides you through setup, choosing a name, source type (&lt;code&gt;r2&lt;/code&gt; or &lt;code&gt;web&lt;/code&gt;), and data source. You can also pass all options as flags for non-interactive use:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;sh&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ai-search&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;create&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;my-instance&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--type&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;r2&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--source&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;my-bucket&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Use &lt;code&gt;wrangler ai-search search&lt;/code&gt; to query an instance directly from the CLI:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;sh&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ai-search&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;search&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;my-instance&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--query&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;how do I configure caching?&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;All commands support &lt;code&gt;--json&lt;/code&gt; for structured output that scripts and AI agents can parse directly.&lt;/p&gt;
&lt;p&gt;For full usage details, refer to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/wrangler-commands/&quot;&gt;Wrangler commands documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Wed, 01 Apr 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - New AI Search REST API endpoints for /search and /chat/completions</title><link>https://developers.cloudflare.com/changelog/post/2026-03-23-ai-search-new-rest-api/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-03-23-ai-search-new-rest-api/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now offers new &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/rest-api/&quot;&gt;REST API&lt;/a&gt; endpoints for search and chat that use an OpenAI compatible format. This means you can use the familiar &lt;code&gt;messages&lt;/code&gt; array structure that works with existing OpenAI SDKs and tools. The messages array also lets you pass previous messages within a session, so the model can maintain context across multiple turns.&lt;/p&gt;

















&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Endpoint&lt;/th&gt;&lt;th&gt;Path&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Chat Completions&lt;/td&gt;&lt;td&gt;&lt;code&gt;POST /accounts/{account_id}/ai-search/instances/{name}/chat/completions&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Search&lt;/td&gt;&lt;td&gt;&lt;code&gt;POST /accounts/{account_id}/ai-search/instances/{name}/search&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;Here is an example request to the Chat Completions endpoint using the new &lt;code&gt;messages&lt;/code&gt; array format:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;curl&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai-search/instances/{NAME}/chat/completions&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Content-Type: application/json&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Authorization: Bearer {API_TOKEN}&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-d&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&apos;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;messages&quot;: [&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;role&quot;: &quot;system&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;content&quot;: &quot;You are a helpful documentation assistant.&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;role&quot;: &quot;user&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;content&quot;: &quot;How do I get started?&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&apos;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;For more details, refer to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/rest-api/&quot;&gt;AI Search REST API guide&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;Migration from existing AutoRAG API (recommended)&lt;/h4&gt;
&lt;p&gt;If you are using the previous AutoRAG API endpoints (&lt;code&gt;/autorag/rags/&lt;/code&gt;), we recommend migrating to the new endpoints. The previous AutoRAG API endpoints will continue to be fully supported.&lt;/p&gt;
&lt;p&gt;Refer to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/how-to/migrate-from-autorag-api/&quot;&gt;migration guide&lt;/a&gt; for step-by-step instructions.&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - AI Search UI snippets and MCP support</title><link>https://developers.cloudflare.com/changelog/post/2026-03-23-ai-search-public-endpoint-and-snippets/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-03-23-ai-search-public-endpoint-and-snippets/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now supports public endpoints, UI snippets, and MCP, making it easy to add search to your website or connect AI agents.&lt;/p&gt;
&lt;p&gt;Public endpoints allow you to expose AI Search capabilities without requiring API authentication. To enable public endpoints:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;AI Search&lt;/strong&gt; in the Cloudflare dashboard.
&lt;a href=&quot;https://dash.cloudflare.com/?to=/:account/ai/ai-search&quot; target=&quot;_blank&quot;&gt;  Go to &lt;strong&gt;AI Search&lt;/strong&gt;  &lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Select your instance, and turn on &lt;strong&gt;Public Endpoint&lt;/strong&gt; in &lt;strong&gt;Settings&lt;/strong&gt;.
For more details, refer to &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/public-endpoint/&quot;&gt;Public endpoint configuration&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;UI snippets&lt;/h4&gt;
&lt;p&gt;UI snippets are pre-built search and chat components you can embed in your website. Visit &lt;a href=&quot;https://search.ai.cloudflare.com/&quot; target=&quot;_blank&quot;&gt;search.ai.cloudflare.com&lt;/a&gt; to configure and preview components for your AI Search instance.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/ui-snippet-search-modal.tIxR8nl5_2300oN.webp&quot; alt=&quot;Example of the search-modal-snippet component&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;To add a search modal to your page:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;html&quot;&gt;&lt;code class=&quot;language-html&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;script&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&quot;module&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;src&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&quot;https://&amp;#x3C;INSTANCE_ID&gt;.search.ai.cloudflare.com/assets/v0.0.25/search-snippet.es.js&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;script&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;search-modal-snippet&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;api-url&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&quot;https://&lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;INSTANCE_ID&gt;.search.ai.cloudflare.com/&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;placeholder&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&quot;Search...&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;search-modal-snippet&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;For more details, refer to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/embed-search-snippets/&quot;&gt;UI snippets documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;MCP&lt;/h4&gt;
&lt;p&gt;The MCP endpoint allows AI agents to search your content via the Model Context Protocol. Connect your MCP client to:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;txt&quot;&gt;&lt;code class=&quot;language-txt&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;https://&amp;#x3C;INSTANCE_ID&gt;.search.ai.cloudflare.com/mcp&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;For more details, refer to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/mcp/&quot;&gt;MCP documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Custom metadata filtering for AI Search</title><link>https://developers.cloudflare.com/changelog/post/2026-03-23-custom-metadata-filtering/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-03-23-custom-metadata-filtering/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now supports custom metadata filtering, allowing you to define your own metadata fields and filter search results based on attributes like category, version, or any custom field you define.&lt;/p&gt;
&lt;h4&gt;Define a custom metadata schema&lt;/h4&gt;
&lt;p&gt;You can define up to 5 custom metadata fields per AI Search instance. Each field has a name and data type (&lt;code&gt;text&lt;/code&gt;, &lt;code&gt;number&lt;/code&gt;, or &lt;code&gt;boolean&lt;/code&gt;):&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;curl&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;-X&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;POST&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai-search/instances&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Content-Type: application/json&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Authorization: Bearer {API_TOKEN}&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-d&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&apos;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;id&quot;: &quot;my-instance&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;type&quot;: &quot;r2&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;source&quot;: &quot;my-bucket&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;custom_metadata&quot;: [&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{ &quot;field_name&quot;: &quot;category&quot;, &quot;data_type&quot;: &quot;text&quot; },&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{ &quot;field_name&quot;: &quot;version&quot;, &quot;data_type&quot;: &quot;number&quot; },&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{ &quot;field_name&quot;: &quot;is_public&quot;, &quot;data_type&quot;: &quot;boolean&quot; }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&apos;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;h4&gt;Add metadata to your documents&lt;/h4&gt;
&lt;p&gt;How you attach metadata depends on your data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;R2 bucket&lt;/strong&gt;: Set metadata using S3-compatible custom headers (&lt;code&gt;x-amz-meta-*&lt;/code&gt;) when uploading objects. Refer to &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/r2/#custom-metadata&quot;&gt;R2 custom metadata&lt;/a&gt; for examples.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Website&lt;/strong&gt;: Add &lt;code&gt;&amp;#x3C;meta&gt;&lt;/code&gt; tags to your HTML pages. Refer to &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#custom-metadata&quot;&gt;Website custom metadata&lt;/a&gt; for details.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Filter search results&lt;/h4&gt;
&lt;p&gt;Use custom metadata fields in your search queries alongside built-in attributes like &lt;code&gt;folder&lt;/code&gt; and &lt;code&gt;timestamp&lt;/code&gt;:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;curl&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai-search/instances/{NAME}/search&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Content-Type: application/json&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Authorization: Bearer {API_TOKEN}&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;-d&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&apos;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;messages&quot;: [&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;content&quot;: &quot;How do I configure authentication?&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;role&quot;: &quot;user&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;],&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;ai_search_options&quot;: {&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;retrieval&quot;: {&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;filters&quot;: {&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;          &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;category&quot;: &quot;documentation&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;          &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;version&quot;: { &quot;$gte&quot;: 2.0 }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&apos;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Learn more in the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/metadata/&quot;&gt;metadata filtering documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - AI Search now with more granular controls over indexing</title><link>https://developers.cloudflare.com/changelog/post/2026-02-09-indexing-improvements/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-02-09-indexing-improvements/</guid><description>&lt;p&gt;Get your content updates into &lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; faster and avoid a full rescan when you do not need it.&lt;/p&gt;
&lt;h4&gt;Reindex individual files without a full sync&lt;/h4&gt;
&lt;p&gt;Updated a file or need to retry one that errored? When you know exactly which file changed, you can now &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/indexing/#controls&quot;&gt;reindex it directly&lt;/a&gt; instead of rescanning your entire data source.&lt;/p&gt;
&lt;p&gt;Go to &lt;strong&gt;Overview&lt;/strong&gt; &gt; &lt;strong&gt;Indexed Items&lt;/strong&gt; and select the sync icon next to any file to reindex it immediately.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/individual-file-indexing.CQgoIj85_ZIBUBg.webp&quot; alt=&quot;Sync individual files from Indexed Items&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;h4&gt;Crawl only the sitemap you need&lt;/h4&gt;
&lt;p&gt;By default, AI Search crawls all sitemaps listed in your &lt;code&gt;robots.txt&lt;/code&gt;, up to the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/platform/limits-pricing/#limits&quot;&gt;maximum files per index limit&lt;/a&gt;. If your site has multiple sitemaps but you only want to index a specific set, you can now &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#sitemap&quot;&gt;specify a single sitemap URL&lt;/a&gt; to limit what the crawler visits.&lt;/p&gt;
&lt;p&gt;For example, if your &lt;code&gt;robots.txt&lt;/code&gt; lists both &lt;code&gt;blog-sitemap.xml&lt;/code&gt; and &lt;code&gt;docs-sitemap.xml&lt;/code&gt;, you can specify just &lt;code&gt;https://example.com/docs-sitemap.xml&lt;/code&gt; to index only your documentation.&lt;/p&gt;
&lt;p&gt;Configure your selection anytime in &lt;strong&gt;Settings&lt;/strong&gt; &gt; &lt;strong&gt;Parsing options&lt;/strong&gt; &gt; &lt;strong&gt;Specific sitemaps&lt;/strong&gt;, then trigger a sync to apply the changes.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/specify-sitemap.pLCkwmJ-_2vbphB.webp&quot; alt=&quot;Specify a sitemap in Parsinh options&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/indexing/#controls&quot;&gt;indexing controls&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#sitemap&quot;&gt;website crawling configuration&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Mon, 09 Feb 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - AI Search path filtering for website and R2 data sources</title><link>https://developers.cloudflare.com/changelog/post/2026-01-20-ai-search-path-filtering/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-01-20-ai-search-path-filtering/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now includes &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/path-filtering/&quot;&gt;path filtering&lt;/a&gt; for both &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#path-filtering&quot;&gt;website&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/r2/#path-filtering&quot;&gt;R2&lt;/a&gt; data sources. You can now control which content gets indexed by defining include and exclude rules for paths.&lt;/p&gt;
&lt;p&gt;By controlling what gets indexed, you can improve the relevance and quality of your search results. You can also use path filtering to split a single data source across multiple AI Search instances for specialized search experiences.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/path-filtering.BCH7HN-Q_vEVaf.webp&quot; alt=&quot;Path filtering configuration in AI Search&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;Path filtering uses &lt;a href=&quot;https://github.com/micromatch/micromatch&quot; target=&quot;_blank&quot;&gt;micromatch&lt;/a&gt; patterns, so you can use &lt;code&gt;*&lt;/code&gt; to match within a directory and &lt;code&gt;**&lt;/code&gt; to match across directories.&lt;/p&gt;

























&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Use case&lt;/th&gt;&lt;th&gt;Include&lt;/th&gt;&lt;th&gt;Exclude&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Index docs but skip drafts&lt;/td&gt;&lt;td&gt;&lt;code&gt;**/docs/**&lt;/code&gt;&lt;/td&gt;&lt;td&gt;&lt;code&gt;**/docs/drafts/**&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Keep admin pages out of results&lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;td&gt;&lt;code&gt;**/admin/**&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Index only English content&lt;/td&gt;&lt;td&gt;&lt;code&gt;**/en/**&lt;/code&gt;&lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;Configure path filters when creating a new instance or update them anytime from &lt;strong&gt;Settings&lt;/strong&gt;. Check out &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/path-filtering/&quot;&gt;path filtering&lt;/a&gt; to learn more.&lt;/p&gt;</description><pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Create AI Search instances programmatically via REST API</title><link>https://developers.cloudflare.com/changelog/post/2026-01-20-ai-search-simplified-api/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-01-20-ai-search-simplified-api/</guid><description>&lt;p&gt;You can now create &lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; instances programmatically using the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/api/&quot;&gt;API&lt;/a&gt;. For example, use the API to create instances for each customer in a multi-tenant application or manage AI Search alongside your other infrastructure.&lt;/p&gt;
&lt;p&gt;If you have created an AI Search instance via the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/dashboard/&quot;&gt;dashboard&lt;/a&gt; before, you already have a &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/service-api-token/&quot;&gt;service API token&lt;/a&gt; registered and can start creating instances programmatically right away. If not, follow the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/api/&quot;&gt;API guide&lt;/a&gt; to set up your first instance.&lt;/p&gt;
&lt;p&gt;For example, you can now create separate search instances for each language on your website:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;for&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;lang&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;in&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;en&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fr&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;es&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;de&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;do&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;curl&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;-X&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;POST&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;https://api.cloudflare.com/client/v4/accounts/&lt;/span&gt;&lt;span&gt;$ACCOUNT_ID&lt;/span&gt;&lt;span&gt;/ai-search/instances&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Authorization: Bearer &lt;/span&gt;&lt;span&gt;$API_TOKEN&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;-H&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Content-Type: application/json&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;--data&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&apos;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;id&quot;: &quot;docs-&apos;&quot;&lt;/span&gt;&lt;span&gt;$lang&lt;/span&gt;&lt;span&gt;&quot;&apos;&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;type&quot;: &quot;web-crawler&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;source&quot;: &quot;example.com&quot;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;source_params&quot;: {&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&quot;path_include&quot;: [&quot;**/&apos;&quot;&lt;/span&gt;&lt;span&gt;$lang&lt;/span&gt;&lt;span&gt;&quot;&apos;/**&quot;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&apos;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;done&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Refer to the &lt;a href=&quot;https://developers.cloudflare.com/api/resources/ai_search/subresources/instances/methods/create/&quot;&gt;REST API reference&lt;/a&gt; for additional configuration options.&lt;/p&gt;</description><pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - AI Search support for crawling login protected website content</title><link>https://developers.cloudflare.com/changelog/post/2025-11-19-add-extra-headers-for-website-crawling/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-11-19-add-extra-headers-for-website-crawling/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now supports &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#extra-headers-for-access-protected-content&quot;&gt;custom HTTP headers&lt;/a&gt; for website crawling, solving a common problem where valuable content behind authentication or access controls could not be indexed.&lt;/p&gt;
&lt;p&gt;Previously, AI Search could only crawl publicly accessible pages, leaving knowledge bases, documentation, and other protected content out of your search results. With custom headers support, you can now include authentication credentials that allow the crawler to access this protected content.&lt;/p&gt;
&lt;p&gt;This is particularly useful for indexing content like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Internal documentation&lt;/strong&gt; behind corporate login systems&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Premium content&lt;/strong&gt; that requires users to provide access to unlock&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sites protected by Cloudflare Access&lt;/strong&gt; using service tokens&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To add custom headers when creating an AI Search instance, select &lt;strong&gt;Parse options&lt;/strong&gt;. In the &lt;strong&gt;Extra headers&lt;/strong&gt; section, you can add up to five custom headers per Website data source.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/ai-search-extra-headers.B7A2spby_lEmuv.webp&quot; alt=&quot;Custom headers configuration in AI Search&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;For example, to crawl a site protected by &lt;a href=&quot;https://developers.cloudflare.com/cloudflare-one/access-controls/&quot;&gt;Cloudflare Access&lt;/a&gt;, you can add service token credentials as custom headers:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;plaintext&quot;&gt;&lt;code class=&quot;language-plaintext&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;CF-Access-Client-Id: your-token-id.access&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;CF-Access-Client-Secret: your-token-secret&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;The crawler will automatically include these headers in all requests, allowing it to access protected pages that would otherwise be blocked.&lt;/p&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/data-source/website/#extra-headers-for-access-protected-content&quot;&gt;configuring custom headers for website crawling&lt;/a&gt; in AI Search.&lt;/p&gt;</description><pubDate>Wed, 19 Nov 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Reranking and API-based system prompt configuration in AI Search</title><link>https://developers.cloudflare.com/changelog/post/2025-10-27-ai-search-reranking-system-prompt/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-10-27-ai-search-reranking-system-prompt/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AI Search&lt;/a&gt; now supports reranking for improved retrieval quality and allows you to set the system prompt directly in your API requests.&lt;/p&gt;
&lt;h4&gt;Rerank for more relevant results&lt;/h4&gt;
&lt;p&gt;You can now enable &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/reranking/&quot;&gt;reranking&lt;/a&gt; to reorder retrieved documents based on their semantic relevance to the user’s query. Reranking helps improve accuracy, especially for large or noisy datasets where vector similarity alone may not produce the optimal ordering.&lt;/p&gt;
&lt;p&gt;You can enable and configure reranking in the dashboard or directly in your API requests:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;javascript&quot;&gt;&lt;code class=&quot;language-javascript&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;answer&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AI&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;autorag&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;my-autorag&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;aiSearch&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;How do I train a llama to deliver coffee?&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;model&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;@cf/meta/llama-3.3-70b-instruct-fp8-fast&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;reranking&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;enabled&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;model&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;@cf/baai/bge-reranker-base&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;h4&gt;Set system prompts in API&lt;/h4&gt;
&lt;p&gt;Previously, &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/system-prompt/&quot;&gt;system prompts&lt;/a&gt; could only be configured in the dashboard. You can now define them directly in your API requests, giving you per-query control over behavior. For example:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;javascript&quot;&gt;&lt;code class=&quot;language-javascript&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;// Dynamically set query and system prompt in AI Search&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;async&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;function&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;getAnswer&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;tone&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;systemPrompt&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;`You are a &lt;/span&gt;&lt;span&gt;${&lt;/span&gt;&lt;span&gt;tone&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; assistant.`&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;response&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AI&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;autorag&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;my-autorag&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;aiSearch&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;system_prompt&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;systemPrompt&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;response&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;// Example usage&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;What is Cloudflare?&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;tone&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;friendly&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;answer&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;getAnswer&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;tone&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;console&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;log&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;answer&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/reranking/&quot;&gt;Reranking&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/system-prompt/&quot;&gt;System Prompt&lt;/a&gt; in AI Search.&lt;/p&gt;</description><pubDate>Tue, 28 Oct 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - AI Search (formerly AutoRAG) now with More Models To Choose From</title><link>https://developers.cloudflare.com/changelog/post/2025-09-25-ai-search-more-models/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-09-25-ai-search-more-models/</guid><description>&lt;p&gt;AutoRAG is now AI Search! The new name marks a new and bigger mission: to make world-class search infrastructure available to every developer and business.&lt;/p&gt;
&lt;p&gt;With AI Search you can now use models from different providers like OpenAI and Anthropic. By attaching your provider keys to the AI Gateway linked to your AI Search instance, you can use many more models for both embedding and inference.&lt;/p&gt;
&lt;p&gt;To use AI Search with other &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/models/&quot;&gt;model providers&lt;/a&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Add provider keys to AI Gateway&lt;/strong&gt;
&lt;ol&gt;
&lt;li&gt;Go to AI &gt; AI Gateway in the dashboard.&lt;/li&gt;
&lt;li&gt;Select or create an AI gateway.&lt;/li&gt;
&lt;li&gt;In Provider Keys, choose your provider, click Add, and enter the key.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Connect a gateway to AI Search&lt;/strong&gt;: When creating a new AI Search, select the AI Gateway with your provider keys. For an existing AI Search, go to Settings and switch to a gateway that has your keys under Resources.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select models&lt;/strong&gt;: Embedding models are only available to be changed when creating a new AI Search. Generation model can be selected when creating a new AI Search and can be changed at any time in Settings.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once configured, your AI Search instance will be able to reference models available through your AI Gateway when making a &lt;code&gt;/ai-search&lt;/code&gt; request:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;javascript&quot;&gt;&lt;code class=&quot;language-javascript&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;export&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;default&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;async&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fetch&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;request&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;// Query your AI Search instance with a natural language question to an OpenAI model&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;result&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AI&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;autorag&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;my-ai-search&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;aiSearch&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;What&apos;s new for Cloudflare Birthday Week?&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;model&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;openai/gpt-5&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;// Return only the generated answer as plain text&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;new&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Response&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;result&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;response&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;headers&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;Content-Type&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;text/plain&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;In the coming weeks we will also roll out updates to align the APIs with the new name. The existing APIs will continue to be supported for the time being. Stay tuned to the &lt;a href=&quot;https://developers.cloudflare.com/changelog/product/ai-search/&quot;&gt;AI Search Changelog&lt;/a&gt; and &lt;a href=&quot;https://discord.cloudflare.com/&quot; target=&quot;_blank&quot;&gt;Discord&lt;/a&gt; for more updates!&lt;/p&gt;</description><pubDate>Thu, 25 Sep 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - New Metrics View in AutoRAG</title><link>https://developers.cloudflare.com/changelog/post/2025-09-19-autorag-metrics/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-09-19-autorag-metrics/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AutoRAG&lt;/a&gt; now includes a &lt;strong&gt;Metrics&lt;/strong&gt; tab that shows how your data is indexed and searched. Get a clear view of the health of your indexing pipeline, compare usage between &lt;code&gt;ai-search&lt;/code&gt; and &lt;code&gt;search&lt;/code&gt;, and see which files are retrieved most often.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/metrics.BBUwKIos_zR8bd.webp&quot; alt=&quot;Metrics&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;You can find these metrics within each AutoRAG instance:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Indexing: Track how files are ingested and see status changes over time.&lt;/li&gt;
&lt;li&gt;Search breakdown: Compare usage between &lt;code&gt;ai-search&lt;/code&gt; and &lt;code&gt;search&lt;/code&gt; endpoints.&lt;/li&gt;
&lt;li&gt;Top file retrievals: Identify which files are most frequently retrieved in a given period.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Try it today in &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/&quot;&gt;AutoRAG&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Fri, 19 Sep 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Faster indexing and new Jobs view in AutoRAG</title><link>https://developers.cloudflare.com/changelog/post/2025-07-08-autorag-jobs-view/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-07-08-autorag-jobs-view/</guid><description>&lt;p&gt;You can now expect &lt;strong&gt;3-5× faster indexing&lt;/strong&gt; in AutoRAG, and with it, a brand new &lt;strong&gt;Jobs view&lt;/strong&gt; to help you monitor indexing progress.&lt;/p&gt;
&lt;p&gt;With each AutoRAG, indexing jobs are automatically triggered to sync your data source (i.e. R2 bucket) with your Vectorize index, ensuring new or updated files are reflected in your query results. You can also trigger jobs manually via the &lt;a href=&quot;https://developers.cloudflare.com/api/resources/ai-search/subresources/rags/&quot;&gt;Sync API&lt;/a&gt; or by clicking “Sync index” in the dashboard.&lt;/p&gt;
&lt;p&gt;With the new jobs observability, you can now:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;View the status, job ID, source, start time, duration and last sync time for each indexing job&lt;/li&gt;
&lt;li&gt;Inspect real-time logs of job events (e.g. &lt;code&gt;Starting indexing data source...&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;See a history of past indexing jobs under the Jobs tab of your AutoRAG&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This makes it easier to understand what’s happening behind the scenes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Coming soon:&lt;/strong&gt; We’re adding APIs to programmatically check indexing status, making it even easier to integrate AutoRAG into your workflows.&lt;/p&gt;
&lt;p&gt;Try it out today on the &lt;a href=&quot;https://dash.cloudflare.com/?to=/:account/ai/autorag&quot; target=&quot;_blank&quot;&gt;Cloudflare dashboard&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Tue, 08 Jul 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - View custom metadata in responses and guide AI-search with context in AutoRAG</title><link>https://developers.cloudflare.com/changelog/post/2025-06-19-autorag-custom-metadata-and-context/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-06-19-autorag-custom-metadata-and-context/</guid><description>&lt;p&gt;In &lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AutoRAG&lt;/a&gt;, you can now view your object&apos;s custom metadata in the response from &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/workers-binding/&quot;&gt;&lt;code&gt;/search&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/workers-binding/&quot;&gt;&lt;code&gt;/ai-search&lt;/code&gt;&lt;/a&gt;, and optionally add a &lt;code&gt;context&lt;/code&gt; field in the custom metadata of an object to provide additional guidance for AI-generated answers.&lt;/p&gt;
&lt;p&gt;You can add &lt;a href=&quot;https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2putoptions&quot;&gt;custom metadata&lt;/a&gt; to an object when uploading it to your R2 bucket.&lt;/p&gt;
&lt;h4&gt;Object&apos;s custom metadata in search responses&lt;/h4&gt;
&lt;p&gt;When you run a search, AutoRAG now returns any custom metadata associated with the object. This metadata appears in the response inside &lt;code&gt;attributes&lt;/code&gt; then &lt;code&gt;file&lt;/code&gt; , and can be used for downstream processing.&lt;/p&gt;
&lt;p&gt;For example, the &lt;code&gt;attributes&lt;/code&gt; section of your search response may look like:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;json&quot;&gt;&lt;code class=&quot;language-json&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;attributes&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;timestamp&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;1750001460000&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;folder&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;docs/&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;filename&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;launch-checklist.md&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;file&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;url&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;https://wiki.company.com/docs/launch-checklist&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;context&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;A checklist for internal launch readiness, including legal, engineering, and marketing steps.&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;h4&gt;Add a &lt;code&gt;context&lt;/code&gt; field to guide LLM answers&lt;/h4&gt;
&lt;p&gt;When you include a custom metadata field named &lt;code&gt;context&lt;/code&gt;, AutoRAG attaches that value to each chunk of the file. When you run an &lt;code&gt;/ai-search&lt;/code&gt; query, this &lt;code&gt;context&lt;/code&gt; is passed to the LLM and can be used as additional input when generating an answer.&lt;/p&gt;
&lt;p&gt;We recommend using the &lt;code&gt;context&lt;/code&gt; field to describe supplemental information you want the LLM to consider, such as a summary of the document or a source URL. If you have several different metadata attributes, you can join them together however you choose within the &lt;code&gt;context&lt;/code&gt; string.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;json&quot;&gt;&lt;code class=&quot;language-json&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;context&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;summary: &apos;Checklist for internal product launch readiness, including legal, engineering, and marketing steps.&apos;; url: &apos;https://wiki.company.com/docs/launch-checklist&apos;&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;This gives you more control over how your content is interpreted, without requiring you to modify the original contents of the file.&lt;/p&gt;
&lt;p&gt;Learn more in AutoRAG&apos;s &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/metadata&quot;&gt;metadata filtering documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Thu, 19 Jun 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Filter your AutoRAG search by file name</title><link>https://developers.cloudflare.com/changelog/post/2025-06-19-autorag-filename-filter/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-06-19-autorag-filename-filter/</guid><description>&lt;p&gt;In &lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AutoRAG&lt;/a&gt;, you can now &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/metadata/&quot;&gt;filter&lt;/a&gt; by an object&apos;s file name using the &lt;code&gt;filename&lt;/code&gt; attribute, giving you more control over which files are searched for a given query.&lt;/p&gt;
&lt;p&gt;This is useful when your application has already determined which files should be searched. For example, you might query a PostgreSQL database to get a list of files a user has access to based on their permissions, and then use that list to limit what AutoRAG retrieves.&lt;/p&gt;
&lt;p&gt;For example, your search query may look like:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;js&quot;&gt;&lt;code class=&quot;language-js&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;response&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AI&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;autorag&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;my-autorag&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;search&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;what is the project deadline?&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;filters&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;eq&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;key&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;filename&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;value&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;project-alpha-roadmap.md&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;This allows you to connect your application logic with AutoRAG&apos;s retrieval process, making it easy to control what gets searched without needing to reindex or modify your data.&lt;/p&gt;
&lt;p&gt;Learn more in AutoRAG&apos;s &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/metadata/&quot;&gt;metadata filtering documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Thu, 19 Jun 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search - Metadata filtering and multitenancy support in AutoRAG</title><link>https://developers.cloudflare.com/changelog/post/2025-04-23-autorag-metadata-filtering/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-04-23-autorag-metadata-filtering/</guid><description>&lt;p&gt;You can now filter &lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AutoRAG&lt;/a&gt; search results by &lt;code&gt;folder&lt;/code&gt; and &lt;code&gt;timestamp&lt;/code&gt; using &lt;a href=&quot;https://developers.cloudflare.com/ai-search/configuration/metadata&quot;&gt;metadata filtering&lt;/a&gt; to narrow down the scope of your query.&lt;/p&gt;
&lt;p&gt;This makes it easy to build &lt;a href=&quot;https://developers.cloudflare.com/ai-search/how-to/multitenancy/&quot;&gt;multitenant experiences&lt;/a&gt; where each user can only access their own data. By organizing your content into per-tenant folders and applying a &lt;code&gt;folder&lt;/code&gt; filter at query time, you ensure that each tenant retrieves only their own documents.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example folder structure:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;customer-a/logs/&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;customer-a/contracts/&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;customer-b/contracts/&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Example query:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;js&quot;&gt;&lt;code class=&quot;language-js&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;response&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;AI&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;autorag&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;my-autorag&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;search&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;When did I sign my agreement contract?&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;filters&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;eq&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;key&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;folder&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;value&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;customer-a/contracts/&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;You can use metadata filtering by creating a new AutoRAG or reindexing existing data. To reindex all content in an existing AutoRAG, update any chunking setting and select &lt;strong&gt;Sync index&lt;/strong&gt;. Metadata filtering is available for all data indexed on or after &lt;strong&gt;April 21, 2025&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If you are new to AutoRAG, get started with the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/&quot;&gt;Get started AutoRAG guide&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Wed, 23 Apr 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category></item><item><title>AI Search, Vectorize - Create fully-managed RAG pipelines for your AI applications with AutoRAG</title><link>https://developers.cloudflare.com/changelog/post/2025-04-07-autorag-open-beta/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-04-07-autorag-open-beta/</guid><description>&lt;p&gt;&lt;a href=&quot;https://developers.cloudflare.com/ai-search/&quot;&gt;AutoRAG&lt;/a&gt; is now in open beta, making it easy for you to build fully-managed retrieval-augmented generation (RAG) pipelines without managing infrastructure. Just upload your docs to &lt;a href=&quot;https://developers.cloudflare.com/r2/get-started/&quot;&gt;R2&lt;/a&gt;, and AutoRAG handles the rest: embeddings, indexing, retrieval, and response generation via API.&lt;/p&gt;
&lt;p&gt;With AutoRAG, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Customize your pipeline:&lt;/strong&gt; Choose from &lt;a href=&quot;https://developers.cloudflare.com/workers-ai&quot;&gt;Workers AI&lt;/a&gt; models, configure chunking strategies, edit system prompts, and more.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Instant setup:&lt;/strong&gt; AutoRAG provisions everything you need from &lt;a href=&quot;https://developers.cloudflare.com/vectorize&quot;&gt;Vectorize&lt;/a&gt;, &lt;a href=&quot;https://developers.cloudflare.com/ai-gateway&quot;&gt;AI gateway&lt;/a&gt;, to pipeline logic for you, so you can go from zero to a working RAG pipeline in seconds.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Keep your index fresh:&lt;/strong&gt; AutoRAG continuously syncs your index with your data source to ensure responses stay accurate and up to date.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ask questions:&lt;/strong&gt; Query your data and receive grounded responses via a &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/workers-binding/&quot;&gt;Workers binding&lt;/a&gt; or &lt;a href=&quot;https://developers.cloudflare.com/ai-search/usage/rest-api/&quot;&gt;API&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Whether you&apos;re building internal tools, AI-powered search, or a support assistant, AutoRAG gets you from idea to deployment in minutes.&lt;/p&gt;
&lt;p&gt;Get started in the &lt;a href=&quot;https://dash.cloudflare.com/?to=/:account/ai/autorag&quot; target=&quot;_blank&quot;&gt;Cloudflare dashboard&lt;/a&gt; or check out the &lt;a href=&quot;https://developers.cloudflare.com/ai-search/get-started/&quot;&gt;guide&lt;/a&gt; for instructions on how to build your RAG pipeline today.&lt;/p&gt;</description><pubDate>Mon, 07 Apr 2025 00:00:00 GMT</pubDate><product>AI Search</product><category>AI Search</category><category>Vectorize</category></item></channel></rss>