🛡️ AI-Era Security Infrastructure

The Security Firewall for LLM Applications

Inspect every prompt and response in real time. Block jailbreaks, prompt injection, and data exfiltration before they reach your users.

Get Started Free See Pricing

Millisecond Detection

Regex + ML anomaly engine

🔒

Prompt Firewall

Blocks jailbreaks & injection

📡

Live WebSocket Feed

Real-time threat events

🧠

RAG Poisoning Guard

Scans documents at ingest

📊

Incident Management

Full audit trail & SIEM export

Simple, Transparent Pricing

Start free. Upgrade when you need more.

Free
$0/mo
1,000 inspections/month
  • Prompt & response inspection
  • REST API access
  • Jailbreak & injection detection
  • Community support
Get API Key →
Pro
$99/mo
500,000 inspections/month
  • Everything in Starter
  • RAG poisoning detection
  • Analyst review queue
  • SIEM export
  • Priority support
Subscribe →

API Reference

Everything you need to integrate SentinelAI in minutes.

🔐 Authentication

All endpoints require an API key in the request header:

X-API-Key: YOUR_API_KEY

Roles: standardanalystadmin

In Swagger UI: click Authorize (top right), paste your key, click Authorize then Close.

⚡ Quick Start

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.

🛡️ Detection Layers
LayerMethodSpeed
Prompt FirewallMythos-class regex signaturesMilliseconds
Behavioral AnomalyIsolationForest ML modelFast
OPA Policy EngineRule-based complianceConfigurable
Output ScannerScans LLM responses for C2 & leakageMilliseconds
🚩 Detection Flags
FlagMeaning
mythos_invocationKnown jailbreak pattern matched
role_confusionDAN-style identity override attempt
data_exfiltrationPrompt designed to extract sensitive data
indirect_injectionInjection payload hidden in processed data
hard_blockUnambiguous threat — automatic block
anomaly_detectedBehavioral anomaly engine flagged unusual activity
ioc_matchMatched a registered Indicator of Compromise
🔗 Integration (Python)
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)
📡 Real-Time Feed (WebSocket)

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.

👤 Roles & Permissions
RoleInspectAnalyst QueueKey Management
standard
analyst
admin
🔑 Key Management (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.

Open Interactive API Docs →