GATED Docs
Put a one-millisecond check in front of your AI so strangers can't steal your prompt, your keys, or your tokens. Most apps are protected in about a minute.
Start here
QuickstartAdd your key, call /v1/check before your model, and ship. Twenty-five lines, no packages.2 min readSetup prompt for your builderOne prompt for Lovable, Bolt, v0, Replit or Cursor that wires GATED into your app for you.2 min readVerify in the consoleSend a test attack from your app's Overview tab, watch it get blocked, and see what it would have cost.1 min
Platform guides
Lovable and SupabaseProtect a Supabase Edge Function that calls the Lovable AI gateway.3 min readNext.js and Vercel AI SDKGate a route handler or server action before streamText.3 min readShopify storefrontStop fake coupons and refund tricks in a merchant chatbot.4 min readAny backendNode, Deno, Python, Go or PHP: one fetch call with a fail-open timeout.3 min read
Reference
Check endpointPOST /v1/check: request fields, headers, and the verdict you get back.4 min readAnalytics exportPull your checks and decisions into your own tools every five minutes, or stream them live.5 min readAPI specificationEvery endpoint, field and status code on one page.1 min readPlans and quotasStarter, Builder and Business limits, auto-scale, and what a blocked check saves you.3 min read
Security and privacy
For AI assistants
Plain markdown your coding assistant can read directly.getgated.ai/llms.txtWhat GATED is, the five zero-trust rules, and the universal snippet.getgated.ai/docs/api-spec.mdThe full request and response specification for every endpoint.getgated.ai/docs/integration.mdDrop-in integration for Node, Next.js, Deno and Workers.getgated.ai/docs/prompts.mdCopy-paste prompts for Lovable, Bolt, v0, Replit and Cursor.