Scan a user prompt before sending it to the LLM
Returns an allow / redact / block verdict for the supplied
text. On redact, use redacted_text instead of the original.
On block, refuse the request and surface blocked_reason.
Authorizations
Antidote 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
Response
Scan complete — verdict in body
Audit-record UUID. Empty when log_events=false.
allow, redact, block 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.
x >= 0x >= 0Short string explaining why a block verdict fired.

