Skip to content
masterclass Buddy

Arcjet · Method

decision.isDenied

decision.isDenied reports whether Arcjet denied the request. For a bot denial, check the decision reason type.

Last updated

Syntax

decision.is_denied() and decision.reason_v2.type == "BOT"

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

Subscribe
  • protect
  • ArcjetDecision
  • ArcjetRuleResult
  • detect_bot
  • is_verified_bot
  • is_spoofed_bot
  • reason_v2

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