Documentation
Integration Options
Integration Options
[← Back to Docs](/docs)
How do I use AI Safety Gate?
AI Safety Gate is a hosted decision service that you call **right before an irreversible step**.
You always:
- Send your AI output to AI Safety Gate.
- Receive a decision:
PASS,WARN, orBLOCK. - Continue or stop based on that decision.
Choose your integration
| Option | Use when | Requires |
|---|---|---|
| **HTTP API** (recommended) | Any app / SaaS / API / script / service | API key |
| **n8n Drop-In** (optional) | You already use n8n workflows | n8n instance |
You do **not** need n8n to use AI Safety Gate.
End-to-end flow (text)
Your App → AI Safety Gate → PASS / WARN / BLOCK → Continue or Stop
What you call
- Validate:
POST https://aisafegate.com/api/validate - If
WARN: pollGET https://aisafegate.com/api/decisions/{decision_id}/approval
Disclaimer
This documentation is provided for general information only. It is not legal advice, not a guarantee of compliance, and not a substitute for your own security review. You are responsible for evaluating and meeting any legal, regulatory, and contractual obligations applicable to your use case.