Header | Value |
---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json |
YOUR_API_KEY
with your actual API key.
Parameter | Type | Required | Description |
---|---|---|---|
prompt | string | Yes | The input text to anonymize |
200 OK
application/json
anonymized_text
(string
): The input text with all detected sensitive information replaced with anonymized tokens.entities
(object
): A mapping of anonymized tokens to their original values.[PER_n]
)[LOC_n]
)[ORG_n]
)[Email Address_n]
)[IPv4 Address_n]
)[Access Token_n]
)[API Key_n]
)[Credit Card Number_n]
)429 Too Many Requests
response. Please implement appropriate retry logic with exponential backoff in your applications.
anonymize-pii
endpoint to detect and replace sensitive information with anonymized tokens.
By sending the text to the API, you receive the anonymized version along with a mapping of the anonymized tokens to the original values. This allows you to safely work with the anonymized text while still having the ability to refer back to the original data if necessary, in a secure and controlled manner.