V-Blaze and V-Cloud Online Help

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 request 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 following command to retrieve the redacted transcript and audio within a zip file:

curl -sL "https://vcloud.vocitec.com/transcribe/result/4502045b-7fb1-4bac-b814-cfc050c9f2f7?token=$token" -o cloudresult.zip

Note

Retrieving redacted audio with scrubaudio requires -o filename.zip at the end of the request.

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 request 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

Use the scruboffset parameter to delay redaction until specified (N) seconds into audio. The following example is a V‑Cloud API request where default redaction activates 10 seconds into the provided audio file:

curl -F file=@sample1.wav \
     -F token=t123e4567e89b12d3a456426655440000 \
     -F scrubtext=true \
     -F scrubaudio=true \
     -F scruboffset=10 \
     https://vcloud.vocitec.com/transcribe

Refer to Redaction Parameters for more detailed information on the parameters used in the examples above.