Skip to content
masterclass Buddy

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.

Subscribe
  • ArcjetWellKnownBot
  • ArcjetBotCategory
  • BotOptionsAllow
  • BotOptionsDeny
  • detectBot
  • Bot protection

Source: Bot protection reference for Next.js | Arcjet Docs. Checked 2026-11-03.