Skip to main content

tasks

Creates, updates, deletes, gets or lists a tasks resource.

Overview

Nametasks
TypeResource
Idcloudflare.ai.tasks

Fields

The following fields are returned by SELECT queries:

Returns a list of tasks

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idSearches Workers AI models by task type (e.g., text-generation, embeddings).

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.

SELECT examples

Searches Workers AI models by task type (e.g., text-generation, embeddings).

SELECT
*
FROM cloudflare.ai.tasks
WHERE account_id = '{{ account_id }}' -- required
;