Analytics

Overview

When enabled, BrainEngine will return the entities and insights processed for a given redaction job.

{
  "requestId": "6227a358f90f7b60594a6c55",
  "channels": 2,
  "duration": 223,
  "status": "completed",
  "sid": "collections",
  "model": "eng-us:callcenter",
  "scrubaudio": true,
  "scrubtext": true,
  "insights": [
    {
      "name": "Social Security Number",
      "speaker": "Agent",
      "timestamp": 21.46,
      "label": "[SSN]",
      "audio_redacted": false,
      "text_redacted": false,
      "response": true,
      "response_label": "[SSN]",
      "response_timestamp": 24.43,
      "response_audio_redacted": true,
      "response_text_redacted": true,
      "compliance_violation": false,
      "group": "Account Verification"
    },
    {
      "name": "Email",
      "speaker": "Client",
      "timestamp": 186.39,
      "label": "|Email|",
      "type": "PII",
      "custom": false,
      "audio_redacted": true,
      "text_redacted": true,
      "response": false,
      "compliance_violation": false,
      "group": "Account Verification"
    }
  ],
  "entities": [
    {
      "type": "USSocialSecurityNumber",
      "label": "[SSN]",
      "start": 24.43,
      "end": 25.63,
      "redacted": true
    },
    {
      "type": "Email",
      "label": "[EMAIL]",
      "start": 186.39,
      "end": 186.83,
      "redacted": true
    }
  ]
}

Available Options

  • Embedded - When the transcript is returned, the analytics information will be included within the JSON.

  • Callback - The analytics is posted separately to the configured URL.

Last updated