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
operator_typeenum<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.


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

extract_matchboolean

Optional

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


match_probabilitynumber

Optional

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


normalized_resultstring

Optional

Normalized output of extraction stage which matches Label.


utterance_resultsarray

Optional

List of mapped utterance object which matches sentences.


utterance_matchboolean

Optional

Boolean to tell if Utterance matches results.


predicted_labelstring

Optional

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


predicted_probabilitynumber

Optional

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


label_probabilitiesobject

Optional

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


extract_resultsobject

Optional

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


text_generation_resultsobject

Optional

Output of a text generation operator for example Conversation Sumamary.


json_resultsnull

Optional


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

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();

Output

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
}