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.
listselectlimit, offset, botCategory, botOperator, kind, botVerificationStatus, formatRetrieves a list of bots.

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.
botCategorystringFilters results by bot category.
botOperatorstringFilters results by bot operator.
botVerificationStatusstringFilters results by bot verification status.
formatstringFormat in which results will be returned.
kindstringFilters results by bot kind.
limitintegerLimits the number of objects returned in the response.
offsetintegerSkips the specified number of objects before fetching the results.

SELECT examples

Retrieves the requested bot information.

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