Skip to main content

bots

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

Overview

Namebots
TypeResource
Idcloudflare.radar.bots

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
botobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbot_slugformatRetrieves the requested bot information.

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
bot_slugstringBot slug.
formatstringFormat in which results will be returned.

SELECT examples

Retrieves the requested bot information.

SELECT
bot
FROM cloudflare.radar.bots
WHERE bot_slug = '{{ bot_slug }}' -- required
AND format = '{{ format }}'
;