releases.shpreview

List items endpoint filters by exact object key

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

In AI Search, you can upload files to an instance, or connect a data source such as an R2 bucket, to make your content searchable with natural language. Each file becomes an item identified by an object key (its filename or path). The list items endpoint returns the items in an instance.

That endpoint now accepts a key query parameter, so you can look up a single item by its exact object key without paging through the full list. This complements the existing item_id filter for when you know the key but not the ID.

<div><div><span>curl</span><span> </span><span>"https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/ai-search/instances/<INSTANCE_NAME>/items?key=docs/readme.md"</span><span> </span><span>\</span></div></div><div><div><span>  </span><span>-H</span><span> </span><span>"Authorization: Bearer <API_TOKEN>"</span></div></div>

Keys are unique per data source, so combine key with source (for example, source=builtin) to disambiguate when the same key exists across multiple sources.

For more information, refer to managing items.

Fetched July 8, 2026