We use analytics and minimal tracking across our websites to help improve performance and user experience. Our privacy policy.
[
{
"processed_text": "<string>",
"entities": [
{
"processed_text": "<string>",
"text": "<string>",
"best_label": "<string>",
"labels": {},
"location": "Location object containing the start-end character indexes of given and processed text."
}
],
"entities_present": true,
"characters_processed": 123
}
]Detect entities such as PII, PHI or PCI in the provided text strings using Private AI’s entity detection engine. After entity detection, any entities found can be redacted, masked or replaced with AI-generated synthetic entities.
[
{
"processed_text": "<string>",
"entities": [
{
"processed_text": "<string>",
"text": "<string>",
"best_label": "<string>",
"labels": {},
"location": "Location object containing the start-end character indexes of given and processed text."
}
],
"entities_present": true,
"characters_processed": 123
}
]API 3.0 Spec Definition
UTF-8 encoded message(s) to process. E.g. ["My name is Adam"] or ["I live at", "263 Spadina Av"]. Request processing time increases linearly with input text length, therefore maximum length is dependent on provisioned hardware and any timeouts set by the user. Private AI has tested up to 500K characters on the CPU and GPU containers.
When set to True, the list of inputs provided in text will be processed together as a single input by the Private AI PII detection model. This shares context between the different inputs and is useful when processing a sequence of short inputs, such as an SMS chat log. This option should only be enabled when the inputs are related, otherwise PII detection performance could be degraded.
This section contains a set of parameters to control the PII detection process. All fields have sensible default that can be changed for specific needs.
Show child attributes
This section allows the user to generate redacted (default), synthetic or masked text.
Show child attributes
Successful Response
The redacted, synthetic or masked text.
A list of all entities found in the text.
Show child attributes
Returns True if the list of detected entities is not empty.
The number of characters in all the text inputs.