item_logs
Creates, updates, deletes, gets or lists an item_logs resource.
Overview
| Name | item_logs |
| Type | Resource |
| Id | cloudflare.aisearch.item_logs |
Fields
The following fields are returned by SELECT queries:
- list
Returns the AI Search item logs.
| Name | Datatype | Description |
|---|---|---|
action | string | |
chunkCount | integer | |
errorType | string | |
fileKey | string | |
message | string | |
processingTimeMs | integer | |
timestamp | string (date-time) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | id, item_id, account_id, name | limit, cursor | Lists processing logs for a specific item in an AI Search instance. |
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. |
cursor | string | |
limit | integer |
SELECT examples
- list
Lists processing logs for a specific item in an AI Search instance.
SELECT
action,
chunkCount,
errorType,
fileKey,
message,
processingTimeMs,
timestamp
FROM cloudflare.aisearch.item_logs
WHERE id = '{{ id }}' -- required
AND item_id = '{{ item_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND name = '{{ name }}' -- required
AND limit = '{{ limit }}'
AND cursor = '{{ cursor }}'
;