Skip to main content
POST
Scan Input

Headers

X-Blindsight-App-Id
string | null
X-Blindsight-App-Token
string | null
X-Blindsight-Component-Id
string | null
X-Blindsight-Workload-Platform
string | null
X-Blindsight-Activity-Type
string | null
X-Blindsight-Device-Token
string | null

Body

application/json
text
string
required

The user prompt about to be sent to the LLM.

untrusted
UntrustedSpan · object[] | null

Spans of text that came from an untrusted source. Optional; omitting it leaves scanning exactly as before.

Maximum array length: 32
history
string[] | null

Earlier user turns in this conversation, oldest first. Optional. Supplying it lets the scan see an instruction that only exists once the turns are joined - each turn on its own is benign, so a per-request scan cannot find it.

Maximum array length: 16
source_app
string | null
Maximum string length: 128
provider
string | null
Maximum string length: 32
model
string | null
Maximum string length: 128
metadata
Metadata · object | null
custom_params
Custom Params · object | null
playground
boolean
default:false

Response

Successful Response

uuid
string
required
verdict
string
required
injection
Injection · object
required
pii
Pii · object
required
redacted_text
string
required
latency_ms
integer
required
text_length
integer
required
untrusted
Untrusted · object | null
blocked_reason
string | null