evaluation_types
Creates, updates, deletes, gets or lists an evaluation_types resource.
Overview
| Name | evaluation_types |
| Type | Resource |
| Id | cloudflare.ai_gateway.evaluation_types |
Fields
The following fields are returned by SELECT queries:
- list
Returns a list of Evaluators
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string | |
created_at | string (date-time) | |
description | string | |
enable | boolean | |
mandatory | boolean | |
modified_at | string (date-time) | |
type | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | page, per_page, order_by, order_by_direction |
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. |
order_by | string | |
order_by_direction | string | |
page | integer | |
per_page | integer |
SELECT examples
- list
Returns a list of Evaluators
SELECT
id,
name,
created_at,
description,
enable,
mandatory,
modified_at,
type
FROM cloudflare.ai_gateway.evaluation_types
WHERE account_id = '{{ account_id }}' -- required
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
AND order_by = '{{ order_by }}'
AND order_by_direction = '{{ order_by_direction }}'
;