All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Security
Security
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

AI Search - Filter AI Search list items by exact object key

22h ago
Read on cloudflare.com

From the article

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. curl " \ -H "Authorization: Bearer " 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 .
Continue reading on Cloudflare

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.