Retrieve Results
Get Phrase-by-Phrase Transcript
// // overview leveraging the unique interactionidentifier provided upon successfully declaring https //docs elevateai com/tutorials/declare an audio interaction the audio interaction, this endpoint enables you to instantly retrieve a detailed phrase by phrase transcript for the audio file provided including precise word timings , confidence scores , and speaker labels https //docs elevateai com/transcription features#fdlgr when this get get successfully executes, an http status is returned to indicate the request was successful, along with a json response providing the detailed transcription output https //docs elevateai com/tutorials/get phrase by phrase transcript#w5m5e sample api response (truncated) { "allparticipants" { "phrases" \[ "thank", "you", "for", "calling", ], "phrasesegments" \[ { "starttimeoffset" 1410, "endtimeoffset" 1730, "phraseindex" 0, "score" 1 }, { "starttimeoffset" 1730, "endtimeoffset" 1810, "phraseindex" 1, "score" 1 }, ] } } if an error occurs when requesting to declare the interaction, a standard http status will be retuned to indicate the request was unsuccessful, along with a json response containing additional details to assist in troubleshooting troubleshooting // // request parameters & code examples // // response schema schema element type description {participant} object top level for speaker label speaker label , identifying whether data in object represents speech associated with " allparticipants ", " participantone ", or " participanttwo " {participant}/ phrases array of strings ordered list of each unique, non redacted phase spoken by {participant} in the interaction {participant}/ phrasesegments array of objects list of details associated with each utterance {participant}/phrasesegments/ starttimeoffset number start time of phrase (in milliseconds) {participant}/phrasesegments/ endtimeoffset number end time of phrase (in milliseconds) {participant}/phrasesegments/ phraseindex number index of phrase in {participant}/phrases {participant}/phrasesegments/ score float confidence score redactionsegments array of objects list of details associated with each redacted phrase redactionsegments/ starttimeoffset number start time of redacted phrase (in milliseconds) redactionsegments/ endtimeoffset number end time of redacted phrase (in milliseconds) redactionsegments/ result string reason for redaction, will be "cvv", "credit card", or "social security" redactionsegments/ score float confidence score