Skip to content

GLOBAL_THROTTLE

reference
1 min readUpdated

Kind: Constant

Source: atloria-monorepo/apps/api/src/common/throttling.module.ts

Global rate-limiting configuration.

  • GLOBAL_THROTTLE: sane per-IP default applied to every HTTP route.
  • AUTH_LOGIN_THROTTLE: strict limit on credential endpoints to slow brute-force attacks.
  • PUBLIC_SSE_THROTTLE: strict per-IP quota on the public, unauthenticated SSE LLM endpoint (each request costs real AI tokens).
  • PLAYGROUND_PROXY_THROTTLE: per-IP quota on the public try-it proxy — it fetches the project's declared API hosts on behalf of anonymous visitors.

Values are exported so specs can assert the exact quotas the guard enforces on real routes.

Was this page helpful?

Download as PDF