PromptShield API
PromptShield API is a pre-flight security scanner for LLM applications. Send any user or system prompt before it reaches OpenAI, Anthropic, Google, or other models and get an instant risk score, a clear allow/warn/block decision, structured findings, and an optional redacted prompt. Unlike PII-only masking APIs, PromptShield covers the full pre-LLM risk surface: sensitive data, leaked…
PromptShield API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Health | ||
| GET |
health_check_health_get /health |
|
| Scan | ||
| POST |
scan_prompt_v1_scan_post /v1/scan |
Scan a prompt for sensitive data, secrets, injection attempts, and compliance risks. Returns a risk score (0–100), decision (`allow` | `warn` | `block`), structured findings, and… |
| Metadata | ||
| GET |
list_categories_v1_categories_get /v1/categories |
List detection categories and how many rules are active in each. |
| GET |
list_detectors_v1_detectors_get /v1/detectors |
List all active detection rules with metadata. |
PromptShield API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 5 / minute |
|
| PRO Recommended | $9.99 / month | 5 / second |
|
| ULTRA | $29.99 / month | 10 / second |
|
| MEGA | $79 / month | — |
|