Redact sensitive information from pdf.
POST/ai/redact-pdf
Redact sensitive information from pdf.
Request
Header Parameters
ipaas string
- application/json
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
- 200
- 400
Success
- application/json
- application/octet-stream
- Schema
- Example (auto)
Schema
urlstringrequired
The result PDF URL.
fileNamestringrequired
The name of the file.
{
"url": "string",
"fileName": "string"
}
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}