Skip to content
masterclass Buddy

Arcjet · Concept

deny

Arcjet bot protection lets you allow selected bots or deny selected bots. Pass exactly one of allow or deny.

Last updated

Syntax

detectBot({ mode?: "LIVE" | "DRY_RUN"; allow: Array<ArcjetWellKnownBot | ArcjetBotCategory> })
detectBot({ mode?: "LIVE" | "DRY_RUN"; deny: Array<ArcjetWellKnownBot | ArcjetBotCategory> })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • detectBot
  • BotCategory
  • protect
  • isVerifiedBot
  • isMissingUserAgent
  • Mode.DRY_RUN

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