Retrieve Results
Get Punctuated 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 sentence by sentence transcript with precise timings , confidence scores , and speaker labels https //docs elevateai com/transcription features#fdlgr when this get get request successfully executes, an http status will be returned to indicate the request was successful, along with a json response providing detailed transcription output https //docs elevateai com/tutorials/get punctuated transcript#jwy9 sample api response (truncated) { "sentencesegments" \[ { "participant" "participantone", "starttimeoffset" 1410, "endtimeoffset" 3210, "phrase" "thank you for calling america phone service ", "score" 0 99137425 }, { "participant" "participantone", "starttimeoffset" 3210, "endtimeoffset" 5570, "phrase" "this is adam speaking, how may i be of service ", "score" 0 99325925 }, ], "redactionsegments" \[ { "starttimeoffset" 24650, "endtimeoffset" 27530, "result" "cvv", "score" 0 }, ] } 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 sentencesegments array of objects ordered list of each sentence spoken, excluding redacted phrases sentencesegments/ participant string speaker speaker associated with sentence, will be either " participantone " or " participanttwo " sentencesegments/ starttimeoffset number start time of sentence (in milliseconds) sentencesegments/ endtimeoffset number end time of sentence (in milliseconds) sentencesegments/ phrase string punctuated sentence, with any redacted segments https //docs elevateai com/transcription features#kfhyb represented by "# # # #" sentencesegments/ score float confidence score redactionsegments array of objects list of details associated with each redacted segment 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