Skip to main content

items_download

Creates, updates, deletes, gets or lists an items_download resource.

Overview

Nameitems_download
TypeResource
Idcloudflare.aisearch.items_download

Fields

The following fields are returned by SELECT queries:

Raw file content.

NameDatatypeDescription
contentsstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_accountselectid, item_id, account_id, nameDownloads the raw file content for a specific item from the managed AI Search instance storage.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
idstringResource ID.
item_idstring
namestringResource name.

SELECT examples

Downloads the raw file content for a specific item from the managed AI Search instance storage.

SELECT
contents
FROM cloudflare.aisearch.items_download
WHERE id = '{{ id }}' -- required
AND item_id = '{{ item_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND name = '{{ name }}' -- required
;