LLM Firewall
Protect model traffic
Evaluate supported chat requests against reusable policies before they reach a model.
How protection works
A firewall combines rules, a judge model and an enforcement mode. The client sends the firewall slug with the request. QDivZero evaluates the input before inference.
Choose the mode
Monitor only (signal_only) evaluates and records matches without blocking. Block harmful input (block_403) rejects requests when a rule detects harmful content.
Keep policies reusable
Maintain rules independently and combine them into different firewalls for products, environments or risk profiles.
API example
List the account firewalls and inspect their mode and rules.
Set QDIV0_USER_API_KEY to a personal uk_ key. The default account is used; for another account you belong to, add its identifier in the X-Account-ID header.
1curl --fail-with-body \
2 "https://api.qdiv0.com/v1/firewalls" \
3 -H "Authorization: Bearer $QDIV0_USER_API_KEY"