Skip to main content
Legacy: This page documents the legacy Policy Scan PDF API. Use the new Guardrail Scan PDF instead, which supports separate input/output detectors via X-Enkrypt-Mode.
Scans a PDF file for security threats using a specific policy. The detector analyzes the provided base64-encoded PDF and returns details about any detected threats on a per-page basis, according to the selected policy.

Example request:

Example response:

JSON