Support and salesSupport / sales
Unlimited Basic and ProFrom €14.95/month · Unlimited models subject to fair use

Documentation

Guides for deploying models, connecting the OpenAI-compatible API, and configuring routing, protection, and retrieval.

LLM Firewall

Firewall API

Manage rules and firewalls and evaluate test inputs without calling the destination model.

Resources

Rule endpoints manage reusable policy prompts. Firewall endpoints manage slugs, modes, judges and rule membership.

Evaluate before enforcing

Use /v1/firewall-rules/{ruleSlug}:evaluate and /v1/firewalls/{firewallSlug}:evaluate to inspect decisions without invoking the destination model. Start with signal_only and test representative cases before using block_403.

API example

Set QDIV0_FIREWALL_SLUG and evaluate an input without calling the destination model. The configured evaluator must be available.

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.

api-example.sh
1curl --fail-with-body \
2  --request POST \
3  "https://api.qdiv0.com/v1/firewalls/$QDIV0_FIREWALL_SLUG:evaluate" \
4  -H "Authorization: Bearer $QDIV0_USER_API_KEY" \
5  -H "Content-Type: application/json" \
6  --data '{"input":"A sample customer message"}'