Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

OperatorResults Resource


The OperatorResults resource returns a list of operator inferences for a Transcript.

The returned Language Operators are the ones that were deployed to the Service at the time of the creation of the Transcript.


OperatorResults Properties

operatorresults-properties page anchor
Property nameTypePIIDescription
operator_typeenum<string>
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_extract

namestring

The name of the applied Language Understanding.


operator_sidSID<LY>

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

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


match_probabilitynumber

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


normalized_resultstring

Normalized output of extraction stage which matches Label.


utterance_resultsarray

List of mapped utterance object which matches sentences.


utterance_matchboolean

Boolean to tell if Utterance matches results.


predicted_labelstring

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


predicted_probabilitynumber

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


label_probabilitiesobject

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


extract_resultsobject

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


text_generation_resultsobject

Output of a text generation operator for example Conversation Sumamary.


transcript_sidSID<GT>

A 34 character string that uniquely identifies this Transcript.

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

urlstring<uri>

The URL of this resource.


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
RedactedbooleanOptional

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


PageSizeintegerOptional

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

Minimum: 1Maximum: 1000

PageintegerOptional

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

Minimum: 0

PageTokenstringOptional

The page token. This is provided by the API.

List multiple OperatorResults

list-multiple-operatorresults page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_14
// Download the helper library from https://www.twilio.com/docs/node/install
_14
import twilio from "twilio";
_14
_14
// Find your Account SID and Auth Token at twilio.com/console
_14
// and set the environment variables. See http://twil.io/secure
_14
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_14
const authToken = process.env.TWILIO_AUTH_TOKEN;
_14
const client = twilio(accountSid, authToken);
_14
_14
const operatorResults = await client.intelligence.v2
_14
.transcripts("GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_14
.operatorResults.list({ limit: 20 });
_14
_14
operatorResults.forEach((o) => console.log(o.operatorType));

Output

_12
{
_12
"operator_results": [],
_12
"meta": {
_12
"page": 0,
_12
"page_size": 50,
_12
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",
_12
"previous_page_url": null,
_12
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",
_12
"next_page_url": null,
_12
"key": "operator_results"
_12
}
_12
}


Rate this page: