Using Redaction with the V‑Cloud API
Define the values of scrubtext
and scrubaudio
parameters as true
to enable default redaction in the V‑Cloud API. The following command is a V‑Cloud API call with default redaction enabled.
curl -F file=@sample1.wav \ -F token=t123e4567e89b12d3a456426655440000 \ -F scrubtext=true \ -F scrubaudio=true \ https://vcloud.vocitec.com/transcribe
Use the scrubconf
parameter to define custom redaction rules in V‑Cloud. Define your custom redaction rules as the value of scrubconf
. The following command is a V‑Cloud API call using a custom redaction rule to match all mentions of the word "resolved" and replace them with the word "SCRUBBED":
curl -F file=@sample1.wav \ -F token=t123e4567e89b12d3a456426655440000 \ -F scrubtext=true \ -F scrubconf={"regex":"resolved","repl":"SCRUBBED"} \ https://vcloud.vocitec.com/transcribe