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.
curl -s -X POST \
-f 'project.json' \
'brainengine_name/system/cache/v2/publish'
Expected Response
{
"success": true,
"message": "",
"detail": ""
}
Confirm Project Configuration
Open your browser and make a call to the following endpoint using the project sid below to retrieve the published configuration.
sid = NER000
curl -s -X POST \
-f 'project.json' \
'brainengine_name/system/cache/v2/publish'
The example below submits a transcription request to BrainEngine for redaction.
curl -s -X POST \
-T 'sample_2.wav' \
'brainengine_name/transcribe?sid=NER000@scrubtext=true&output=text'
Expected Response
AGENT: Hello. This is [NAME] welcome to that until this is [NAME] from the customer service department how can I be of help.
CLIENT: Hi, [NAME], my name is [NAME] and I am a little bit confused about something that I saw on my account.
AGENT: Who [NAME] just hold on I need to ask you a few security questions for verification.
CLIENT: Okay.
AGENT: Okay. What is your full name please?
CLIENT: [NAME] .
AGENT: to the to ours
CLIENT: One or.
AGENT: one our okay and your social security number.
CLIENT: 657080021.
AGENT: And current address please.
CLIENT: 11 north Pennsylvania avenue Morris Seville Tennessee.
....