Skip to main content

gateways_routes

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

Overview

Namegateways_routes
TypeResource
Idcloudflare.ai_gateway.gateways_routes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
namestring
gateway_idstring
created_atstring (date-time)
deploymentobject
elementsarray
modified_atstring (date-time)
versionobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, gateway_id, idGet an AI Gateway Dynamic Route.

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.
gateway_idstringThe AI Gateway ID.
idstringResource ID.

SELECT examples

Get an AI Gateway Dynamic Route.

SELECT
id,
name,
gateway_id,
created_at,
deployment,
elements,
modified_at,
version
FROM cloudflare.ai_gateway.gateways_routes
WHERE account_id = '{{ account_id }}' -- required
AND gateway_id = '{{ gateway_id }}' -- required
AND id = '{{ id }}' -- required
;