Skip to main content
POST

Authorizations

X-API-Key
string
header
required

Blindsight workspace API key (ak_live_…). Use this header for the scan API and the OpenAI proxy routes. The required permission scope is runtime_security.scan for scan endpoints, runtime_security.view for read-only analytics, and runtime_security.manage for configuration changes.

Body

application/json
text
string
required

The prompt about to be sent to the LLM.

source_app
string

Free-form app identifier kept on the audit row.

Maximum string length: 128
provider
string
Maximum string length: 32
model
string
Maximum string length: 128
metadata
object

Response

Scan complete — verdict in body

uuid
string
required

Audit-record UUID. Empty when log_events=false.

verdict
enum<string>
required

flag records a suspicion without mutating traffic: an injection score that crossed the redact threshold without independent corroboration, or a monitor-mode NER PII finding. See the Verdicts guide for the full decision logic.

Available options:
allow,
flag,
redact,
block
injection
object
required
pii
object
required
redacted_text
string
required

Original text with detected PII replaced by <CATEGORY> markers. Equal to the original when verdict=allow. Use this instead of the original when verdict=redact.

latency_ms
integer
required
Required range: x >= 0
text_length
integer
required
Required range: x >= 0
blocked_reason
string | null

Short string explaining why a block verdict fired.