Fetch a specific Operator Result for the given Transcript.

GET /v2/Transcripts/{TranscriptSid}/OperatorResults/{OperatorSid}

Fetch a specific Operator Result for the given Transcript.

Path parameters

  • TranscriptSid string Required

    A 34 character string that uniquely identifies this Transcript.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^GT[0-9a-fA-F]{32}$.

  • OperatorSid string Required

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

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^LY[0-9a-fA-F]{32}$.

Query parameters

  • Redacted boolean

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

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • X-Rate-Limit-Limit string
    • X-Rate-Limit-Remaining string
    • X-Rate-Limit-Config string
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • operator_type string

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

      Values are conversation_classify, utterance_classify, extract, extract_normalize, pii_extract, text_generation, or json.

    • name string | null

      The name of the applied Language Understanding.

    • operator_sid string | null

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

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^LY[0-9a-fA-F]{32}$.

    • extract_match boolean | null

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

    • match_probability number | null

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

    • normalized_result string | null

      Normalized output of extraction stage which matches Label.

    • utterance_results array | null

      List of mapped utterance object which matches sentences.

    • utterance_match boolean | null

      Boolean to tell if Utterance matches results.

    • predicted_label string | null

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

    • predicted_probability number | null

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

    • label_probabilities

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

    • extract_results

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

    • text_generation_results

      Output of a text generation operator for example Conversation Sumamary.

    • json_results
    • transcript_sid string | null

      A 34 character string that uniquely identifies this Transcript.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^GT[0-9a-fA-F]{32}$.

    • url string(uri) | null

      The URL of this resource.

GET /v2/Transcripts/{TranscriptSid}/OperatorResults/{OperatorSid}
curl \
 --request GET 'https://intelligence.twilio.com/v2/Transcripts/{TranscriptSid}/OperatorResults/{OperatorSid}' \
 --user "username:password"
Response examples (200)
{
  "url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults/LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "name": "name",
  "json_results": {},
  "operator_sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "extract_match": false,
  "operator_type": "conversation_classify",
  "transcript_sid": "GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "extract_results": {},
  "predicted_label": "predicted_label",
  "utterance_match": false,
  "match_probability": "0.05",
  "normalized_result": "normalized_result",
  "utterance_results": [
    {}
  ],
  "label_probabilities": {},
  "predicted_probability": "0.05",
  "text_generation_results": {}
}