Built-in storage
Last updated Oct 1, 2026 Every AI Search instance comes with built-in storage and a built-in vector index, powered by R2 and Vectorize. You can upload files directly to an instance without setting up either service yourself.
Upload and manage files
Upload files to an instance using the Items API (Workers binding or REST API) or the Items tab in the dashboard (AI > AI Search > your instance > Items). You can also list, view, and delete uploaded files through the Items API or the dashboard.
For supported file types, refer to Supported file types.
Indexing
Files uploaded to built-in storage are indexed immediately. External data sources like websites and R2 buckets are indexed on a sync schedule.
External data sources
An instance can use built-in storage alongside an external data source. The available external data sources are:
- Website: crawl and index a website that you own
- R2 Bucket: index documents stored in a Cloudflare R2 bucket
For example, an instance can be backed by a website for shared documentation while also accepting file uploads through the Items API for additional content.
Limits and pricing
Storage, vector indexing, Browser Run crawling, and Workers AI embedding and reranking usage are included in AI Search billing. Other usage, such as generation through your AI Gateway, is billed separately. For full details, refer to Limits and pricing.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ai-search/configuration/data-source/built-in-storage/#page","headline":"Built-in storage","description":"Upload files directly to an AI Search instance using built-in storage powered by R2 and Vectorize.","url":"https://developers.cloudflare.com/ai-search/configuration/data-source/built-in-storage/","inLanguage":"en","image":"https://developers.cloudflare.com/ai-search/configuration/data-source/built-in-storage/og.png?v=8152804138aeb1b5","dateModified":"2026-10-01","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Connect a Cloudflare R2 bucket as a data source to index stored documents with AI Search. title: R2 image: https://developers.cloudflare.com/ai-search/configuration/data-source/r2/og.png?v=cae507ed0459a4b6
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/ai-search/llms.txt
Use this file to discover all available pages before exploring further.
Docs