Skip to main content
Legacy: This page documents the legacy Policy Batch Detect API. Use the new Guardrail Batch Detect instead, which supports separate input/output detectors via X-Enkrypt-Mode.
Detects and filters content in multiple texts using a specific policy. The detector analyzes each text and returns details about any detected threats, including which detectors were triggered and highlights of unsafe content, according to the selected policy.

Example request:

Example response:

JSON