Redact sensitive text and generate a PDF

Redact exact terms and supported sensitive-data patterns from plain text, then return sanitized text and a newly generated PDF. Existing PDF files are not accepted. Input is processed in memory and is not retained.

post/redact-text-to-pdf

Request

Request body

titlestring

Optional title printed at the top of the redacted PDF.

textstring required

Plain text to sanitize. Existing PDF files are not accepted.

exact_termsstring[]

Exact terms to replace without returning the matched values.

detectorsstring[]

Built-in sensitive-data detectors to apply.

replacementstring

Replacement marker. Defaults to [REDACTED].

case_sensitiveboolean

Whether exact-term matching is case-sensitive.

Response

Structured automation preflight result.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.