Skip to main content

urls

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

Overview​

Nameurls
TypeResource
Idcloudflare.ai_gateway.urls

Fields​

The following fields are returned by SELECT queries:

Returns the log details

NameDatatypeDescription
resultstring
successboolean

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectgateway_id, account_id, providerRetrieves the endpoint URL for an AI Gateway.

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.
providerstring

SELECT examples​

Retrieves the endpoint URL for an AI Gateway.

SELECT
result,
success
FROM cloudflare.ai_gateway.urls
WHERE gateway_id = '{{ gateway_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND provider = '{{ provider }}' -- required
;