Skip to main content

Redact sensitive information from pdf.

POST 

/ai/redact-pdf

Redact sensitive information from pdf.

Request

Header Parameters

    ipaas string

Bodyrequired

    urlstring

    The PDF URL.

    bufferstring

    The PDF as a Base64-encoded buffer. Can be specified instead of url.

    sensitiveContentstringrequired

    A text prompt describing which data from the document should be covered.

    Example: All people names and addresses should be considered sensitive data.
    fileNamestring

    The file name the result PDF will have. Default is a random ID.

    getAsUrlboolean

    Whether the result PDF should be returned as a URL. Default is false.

    Example: true
    languagestring

    The language of the document in ISO 639-1 nomenclature. Default is 'en' (English).

    Example: de

Responses

Success

Schema
    urlstringrequired

    The result PDF URL.

    fileNamestringrequired

    The name of the file.