Arcjet · Function
allowBots
allowBots defines which detected bots may pass. Any detected bot not included in its allow list is denied.
Last updated
Syntax
type BotOptionsAllow = {
mode?: "LIVE" | "DRY_RUN";
allow: Array<ArcjetWellKnownBot | ArcjetBotCategory>;
};In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ArcjetWellKnownBotArcjetBotCategoryBotOptionsAllowBotOptionsDenydetectBotBot protection