Skip to contentSkip to navigationSkip to topbar
On this page

Voice Intelligence - Transcript OperatorResults Subresource


The Transcript OperatorResults subresource represents the Language Operator analyses for a Voice Intelligence Transcript. OperatorResults is a subresource of a Transcript resource.

The operator_results property contains an array of results of the analyses from the Voice Intelligence Service's attached Language Operators.


Transcript OperatorResults Properties

transcript-operatorresults-properties page anchor
Property nameTypeRequiredDescriptionChild properties
operatorTypeenum<string>

Optional

Not PII

The type of the applied Language Understanding Operator. One of conversation-classify, utterance-classify, extract, extract-normalize, or pii-extract

Possible values:
conversation_classifyutterance_classifyextractextract_normalizepii_extracttext_generationjson

namestring

Optional

The name of the applied Language Understanding.


operatorSidSID<LY>

Optional

A 34 character string that identifies this Language Understanding operator sid.

Pattern: ^LY[0-9a-fA-F]{32}$Min length: 34Max length: 34

extractMatchboolean

Optional

Boolean to tell if extract Language Understanding Processing model matches results.


matchProbabilitynumber

Optional

Percentage of 'matching' class needed to consider a sentence matches


normalizedResultstring

Optional

Normalized output of extraction stage which matches Label.


utteranceResultsarray[object]

Optional

List of mapped utterance object which matches sentences.


utteranceMatchboolean

Optional

Boolean to tell if Utterance matches results.


predictedLabelstring

Optional

The 'matching' class. This might be available on conversation classify model outputs.


predictedProbabilitynumber

Optional

Percentage of 'matching' class needed to consider a sentence matches.


labelProbabilitiesobject

Optional

The labels probabilities. This might be available on conversation classify model outputs.


extractResultsobject

Optional

List of text extraction results. This might be available on classify-extract model outputs.


textGenerationResultsobject

Optional

Output of a text generation operator for example Conversation Sumamary.


jsonResultsobject

Optional


transcriptSidSID<GT>

Optional

A 34 character string that uniquely identifies this Transcript.

Pattern: ^GT[0-9a-fA-F]{32}$Min length: 34Max length: 34

urlstring<uri>

Optional

The URL of this resource.


Get a Transcript OperatorResults subresource

get-a-transcript-operatorresults-subresource page anchor

GET https://intelligence.twilio.com/v2/Transcripts/{TranscriptSid}/OperatorResults

Path parameters

path-parameters page anchor
Property nameTypeRequiredPIIDescription
transcriptSidSID<GT>
required

A 34 character string that uniquely identifies this Transcript.

Pattern: ^GT[0-9a-fA-F]{32}$Min length: 34Max length: 34
Property nameTypeRequiredPIIDescription
redactedboolean

Optional

Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.


pageSizeinteger<int64>

Optional

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Minimum: 1Maximum: 1000

pageinteger

Optional

The page index. This value is simply for client state.

Minimum: 0

pageTokenstring

Optional

The page token. This is provided by the API.

List multiple OperatorResultsLink to code sample: List multiple OperatorResults
1
// Download the helper library from https://www.twilio.com/docs/node/install
2
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
3
4
// Find your Account SID and Auth Token at twilio.com/console
5
// and set the environment variables. See http://twil.io/secure
6
const accountSid = process.env.TWILIO_ACCOUNT_SID;
7
const authToken = process.env.TWILIO_AUTH_TOKEN;
8
const client = twilio(accountSid, authToken);
9
10
async function listOperatorResult() {
11
const operatorResults = await client.intelligence.v2
12
.transcripts("GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
13
.operatorResults.list({ limit: 20 });
14
15
operatorResults.forEach((o) => console.log(o.operatorType));
16
}
17
18
listOperatorResult();

Response

1
{
2
"operator_results": [],
3
"meta": {
4
"page": 0,
5
"page_size": 50,
6
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",
7
"previous_page_url": null,
8
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",
9
"next_page_url": null,
10
"key": "operator_results"
11
}
12
}