Inspect every prompt and response in real time. Block jailbreaks, prompt injection, and data exfiltration before they reach your users.
Regex + ML anomaly engine
Blocks jailbreaks & injection
Real-time threat events
Scans documents at ingest
Full audit trail & SIEM export
Start free. Upgrade when you need more.
Everything you need to integrate SentinelAI in minutes.
All endpoints require an API key in the request header:
X-API-Key: YOUR_API_KEY
Roles: standard → analyst → admin
In Swagger UI: click Authorize (top right), paste your key, click Authorize then Close.
1. Get your API key (free plan above)
2. Inspect a prompt:
POST /inspect/prompt
X-API-Key: YOUR_KEY
{"prompt": "your user input", "agent_id": "app"}
3. Check decision in the response — allowed or blocked
4. Pass the session_id to POST /inspect/response to also scan the LLM output.
| Layer | Method | Speed |
|---|---|---|
| Prompt Firewall | Mythos-class regex signatures | Milliseconds |
| Behavioral Anomaly | IsolationForest ML model | Fast |
| OPA Policy Engine | Rule-based compliance | Configurable |
| Output Scanner | Scans LLM responses for C2 & leakage | Milliseconds |
| Flag | Meaning |
|---|---|
mythos_invocation | Known jailbreak pattern matched |
role_confusion | DAN-style identity override attempt |
data_exfiltration | Prompt designed to extract sensitive data |
indirect_injection | Injection payload hidden in processed data |
hard_block | Unambiguous threat — automatic block |
anomaly_detected | Behavioral anomaly engine flagged unusual activity |
ioc_match | Matched a registered Indicator of Compromise |
import httpx
SENTINEL = "https://sentinelai.expert"
HEADERS = {"X-API-Key": "YOUR_KEY",
"Content-Type": "application/json"}
def safe_llm_call(prompt: str) -> str:
check = httpx.post(
f"{SENTINEL}/inspect/prompt",
headers=HEADERS,
json={"prompt": prompt, "agent_id": "app"}
).json()
if check["decision"] == "blocked":
return "Blocked: " + str(check.get("reasons"))
return your_llm(prompt)
Connect to /ws/feed to receive live threat events:
wss://sentinelai.expert/ws/feed Header: X-API-Key: YOUR_KEY
Events fire every time a threat is detected. Ping/pong keepalive every 15 seconds. Max 100 simultaneous connections.
| Role | Inspect | Analyst Queue | Key Management |
|---|---|---|---|
standard | ✅ | ❌ | ❌ |
analyst | ✅ | ✅ | ❌ |
admin | ✅ | ✅ | ✅ |
Create: POST /keys — returns raw key once only
List: GET /keys — metadata only, raw values never exposed
Revoke: DELETE /keys/{"{key_id}"} — revoked keys cannot authenticate
⚠️ Never use your admin key in application code. Create a dedicated standard key per app.
Enter your email to continue to checkout.
1,000 inspections/month · No credit card required
⚠️ Your key is shown only once — save it immediately when it arrives. It cannot be retrieved again.