POST
/
v01
/
clear

Body

text
string

The string you want to clear-out, to reconstruct original sensitive information from context entities. Usually, this string will itself be the output of a closed-sourced LLM. Say, the LLM answers to Adam’s (masked as Sarah) introduction (see mask endpoint) going like "Hi Sarah, good to know you're working at Apple!" has to be cleared.

entities
list[Entity]

The list of previously detected entities or context to be used for clearing.

Response

cleared
str

The cleared string! Going like "Hi Adam, good to know you're working at Google!"