Skip to main content
POST
Detect and filter content in multiple texts using a specific policy.
Archived: This endpoint is legacy. Use the new Batch Detect with Guardrail endpoint instead, which supports separate input/output detectors via X-Enkrypt-Mode.

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-Policy
string
required

Name of the policy to apply

Body

application/json
texts
string[]
required

A list of texts to analyze.

user_metadata
object

Optional arbitrary metadata object echoed back in the response. Limits: at most 16 top-level keys, key names up to 64 characters, nesting depth up to 3, total serialized size up to 4 KB. When provided and valid, this object is also echoed as a top-level user_metadata key on error responses (4xx/5xx) of endpoints that accept it; invalid or oversized metadata is never echoed, including on the 422 response it causes.

Example:

Response

200 - application/json

Batch detection results for the provided texts.

text
string
summary
object
details
object