Three ways to integrate
Pick the mode that matches your stack. They’re not mutually exclusive: most deployments use the reverse proxy for chat traffic and the scan API for batch jobs and agent tool calls. The official@blindsight/security npm package wraps all three behind a typed
client (a Python SDK is coming soon); see
SDK examples.
Reverse proxy
Wire‑compatible passthrough. No code changes beyond
base_url.Scan API
Explicit
scan/input and scan/output calls around your model.Tool‑call scan
Block dangerous tool invocations before they execute.
Quickstart by mode
- Reverse proxy (OpenAI)
- Reverse proxy (Anthropic)
- Scan API
- Tool‑call scan
allow), mutates content (redact), or returns a
provider‑shaped error (block).Authentication
All routes accept any of the following credentials. UseX-API-Key
for the scan API. For the proxy routes, Authorization is
reserved for the upstream provider, so use X-API-Key (OpenAI
clients) or X-Blindsight-Key (Anthropic clients).
API keys are issued under Settings → API Keys in the Blindsight
dashboard. They scope to a workspace and a permission set; Runtime
Security needs:
runtime_security.scanto call the scan endpoints.runtime_security.viewfor analytics and event reads.runtime_security.manageto manage Apps and configuration.
Where to next
Apps
Per‑surface configuration: thresholds, detectors, custom rules,
tool policy.
Verdicts
What
allow / redact / block mean and how to act on them.Configuration
Workspace and per‑App settings.
Observability
Analytics, events, drift, streaming.

