Advanced Redaction
Learn how to add advanced functionality to a BrainEngine project.
Update Configuration
For this example, we will update the project configuration to include the following redaction strategies:
Behavior- Click here to learn more.
{
"sid": "NER000",
"name": "ner",
"active": true,
"agent_location": "left",
"inbound": true,
"behavior": "moderate"
"scrubaudio": true,
"scrubtext": true,
"rules": [
{
"name": "Person",
"active": true,
"mask_type": "Placeholder",
"setting": "[NAME]",
"real_time": true
},
{
"name": "Address",
"active": true,
"mask_type": "Placeholder",
"setting": "[ADDRESS]",
"real_time": true
},
{
"name": "USSocialSecurityNumber",
"active": true,
"mask_type": "Placeholder",
"setting": "[SSN]",
"real_time": true
}
]
}
testPublish Updated Project Configuration
Publish the configuration.
POST /system/cache/v2/publish
Sets the system cache
Request Body
Name
Type
Description
data*
String
Project configuration
If a project with the given name already exists its configuration will be overwritten by the updated project.
The example below use cURL, a command line utility that sends HTTP client requests. The cURLapplication is freely available for Linux, Windows, and macOS operating systems.
Expected Response
Resubmit Sample Call
The example below submits a transcription request to BrainEngine for redaction.
Expected Response
Last updated