Arcjet · Method
aj.protect
Arcjet rate limiting limits how many requests a client can make during a time period. It can identify clients by IP address or by custom values such as a user ID.
Last updated
Syntax
const decision = await aj.protect(request, options);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
fixedWindowtokenBucketwithRulewith_rulecreateMiddlewareArcjetDecisioncharacteristics