Anonymize Text
Anonymizes sensitive information in the provided text. Accepts JSON, plain text, or form data input.
Request Body
textstring · requiredThe text content to anonymize
entitiesstring[]List of entity types to anonymize (defaults to a predefined list if not provided)
Enum values:REDACTEDDATETIMEDATETIMEEMAIL_ADDRESSURLIBAN_CODECREDIT_CARD
Responses
Successful anonymization
successbooleanWhether the anonymization was successful
anonymized_atstring · date-timeThe timestamp when anonymization was performed
anonymized_textstringThe anonymized text with sensitive information redacted
errorstringError message if any occurred during processing (only present on partial success)
Anonymize File Content
Uploads a file and anonymizes sensitive information in its content. Supports PDF, plain text, and HTML files.
Responses
Successful file anonymization
successbooleanWhether the anonymization was successful
anonymized_atstring · date-timeThe timestamp when anonymization was performed
anonymized_textstringThe anonymized text with sensitive information redacted
errorstringError message if any occurred during processing (only present on partial success)