v3

latestOpenAPI 3.1.02026-08-011057254.3 KB
transcript

Get paragraphs in transcript

<Note>To retrieve your transcriptions on our EU server, replace api.assemblyai.com with api.eu.assemblyai.com.</Note> Get the transcript split by paragraphs. The API will attempt to semantically segment your transcript into paragraphs to create more reader-friendly transcripts.

get/v2/transcript/{transcript_id}/paragraphs

Path parameters

transcript_idstring required

ID of the transcript

Response

Exported paragraphs

idstring uuid required

The unique identifier of your transcript

confidencenumber double required

The confidence score for the transcript

audio_durationnumber required

The duration of the audio file in seconds

Example response

{
  "paragraphs": [
    {
      "text": "Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what's happening here and why, so we called Peter Decarlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Good morning, professor.",
      "start": 250,
      "end": 26950,
      "confidence": 0.73033,
      "words": [
        {
          "text": "Smoke",
          "start": 250,
          "end": 650,
          "confidence": 0.73033,
          "speaker": null
        },
        {
          "text": "from",
          "start": 730,
          "end": 1022,
          "confidence": 1,
          "speaker": null
        },
        {
          "text": "hundreds",
          "start": 1076,
          "end": 1466,
          "confidence": 0.99992,
          "speaker": null
        },
        {
          "text": "of",
          "start": 1498,
          "end": 1646,
          "confidence": 1,
          "speaker": null
        }
      ]
    },
    {
      "text": "Good morning. So what is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there's a couple of things. The season has been pretty dry already, and then the fact that we're getting hit in the US. Is because there's a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there.",
      "start": 27850,
      "end": 56190,
      "confidence": 0.99667,
      "words": [
        {
          "text": "Good",
          "start": 27850,
          "end": 28262,
          "confidence": 0.99667,
          "speaker": null
        },
        {
          "text": "morning.",
          "start": 28316,
          "end": 28920,
          "confidence": 0.99742,
          "speaker": null
        },
        {
          "text": "So",
          "start": 29290,
          "end": 29702,
          "confidence": 0.94736,
          "speaker": null
        }
      ]
    }
  ],
  "id": "d5a3d302-066e-43fb-b63b-8f57baf185db",
  "confidence": 0.9578730257009361,
  "audio_duration": 281
}