items_download
Creates, updates, deletes, gets or lists an items_download resource.
Overview
| Name | items_download |
| Type | Resource |
| Id | cloudflare.aisearch.items_download |
Fields
The following fields are returned by SELECT queries:
- list_by_account
Raw file content.
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_account | select | id, item_id, account_id, name | Downloads 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
id | string | Resource ID. |
item_id | string | |
name | string | Resource name. |
SELECT examples
- list_by_account
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
;