/v2/transcript/{id}/sentences

    You can use this endpoint to retrieve completed transcripts broken into individual sentences. This is done by separating each sentence based on ending punctuation.

    GET Params

    When making GET requests against this endpoint, you need to include the "id" of your transcript in the URL. For example, this would be the full URL to GET one of your transcripts.

    https://api.assemblyai.com/v2/transcript/{TRANSCRIPT-ID}/sentences
    Make sure you include the authorization header in the GET request! You can read more about Authentication here.

    GET Response

    When you make a GET request, the API will respond with the following JSON response.

    {
       "audio_duration":521.352,
       "confidence":0.951530612244907,
       "id":"3otc28umy-25ae-4446-b133-70e244be5208",
       "sentences":[
          {
             "confidence":0.97,
             "end":1770,
             "start":770,
             "text":"Hello.",
             "words":[
                {
                   "confidence":0.97,
                   "end":1770,
                   "start":770,
                   "text":"Hello."
                }
             ]
          },
          {
             "confidence":0.92,
             "end":3090,
             "start":1800,
             "text":"I'm Sunny Williams.",
             "words":[
                {
                   "confidence":0.92,
                   "end":2250,
                   "start":1800,
                   "text":"I'm"
                },
                {
                   "confidence":0.96,
                   "end":2700,
                   "start":2260,
                   "text":"Sunny"
                },
                {
                   "confidence":0.96,
                   "end":3090,
                   "start":2710,
                   "text":"Williams."
                }
             ]
          },
          {
             "confidence":0.94,
             "end":5220,
             "start":3100,
             "text":"I'm up here on the International Space Station.",
             "words":[
                {
                   "confidence":0.94,
                   "end":3300,
                   "start":3100,
                   "text":"I'm"
                },
                {
                   "confidence":0.97,
                   "end":3450,
                   "start":3310,
                   "text":"up"
                },
    
               "......"
    
             ]
          },
    

    GET Response Params

    Param Example Info
    sentences {"sentences": [{'text': '...', 'start': 100, 'end': 1100, 'words': [...], 'confidence': 0.99"}, ...]} Will contain an array of objects containing the keys: text, start, end, confidence and words.
    id "5551722-f677-48a6-9287-39c0aafd9ac1" The unique id of your transcription.
    audio_duration 12.09 How many seconds of audio we found in your audio file.
    confidence 0.956 The confidence score of the entire transcription, between 0 and 1.