Skip to content
masterclass Buddy

Arcjet · Method

reason.isBot

Arcjet bot protection detects automated clients and lets you allow or deny selected bots. Configure exactly one of allow or deny, then inspect the decision returned by protect.

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
  • ArcjetWellKnownBot
  • ArcjetBotCategory
  • decision.isDenied()
  • decision.reason.isBot()
  • decision.results
  • reason.isSpoofed()
  • reason.isVerified()

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