Get transcript

To retrieve your transcriptions on our EU server, replace api.assemblyai.com with api.eu.assemblyai.com.
Get the transcript resource. The transcript is ready when the “status” is “completed”.

Path parameters

transcript_idstringRequired
ID of the transcript

Headers

AuthorizationstringRequired

Response

The transcript resource
idstringformat: "uuid"
The unique identifier of your transcript
audio_urlstringformat: "url"
The URL of the media that was transcribed
statusenum
The status of your transcript. Possible values are queued, processing, completed, or error.
Allowed values:
webhook_authboolean
Whether webhook authentication details were provided
auto_highlightsboolean
Whether Key Phrases is enabled, either true or false
redact_piiboolean

Whether PII Redaction is enabled, either true or false

summarizationboolean

Whether Summarization is enabled, either true or false

language_modelstringDeprecated
The language model that was used for the transcript
acoustic_modelstringDeprecated
The acoustic model that was used for the transcript
language_codeenumOptional

The language of your audio file. Possible values are found in Supported Languages. The default value is ‘en_us’.

language_detectionbooleanOptional

Whether Automatic language detection is enabled, either true or false

language_confidence_thresholddoubleOptional
The confidence threshold for the automatically detected language. An error will be returned if the language confidence is below this threshold.
language_confidencedoubleOptional>=0<=1

The confidence score for the detected language, between 0.0 (low confidence) and 1.0 (high confidence)

speech_modelenumOptional

The speech model used for the transcription. When null, the universal model is used.

Allowed values:
textstringOptional
The textual transcript of your media file
wordslist of objectsOptional

An array of temporally-sequential word objects, one for each word in the transcript. See Speech recognition for more information.

utteranceslist of objectsOptional

When multichannel or speaker_labels is enabled, a list of turn-by-turn utterance objects. See Speaker diarization and Multichannel transcription for more information.

confidencedoubleOptional>=0<=1

The confidence score for the transcript, between 0.0 (low confidence) and 1.0 (high confidence)

audio_durationintegerOptional
The duration of this transcript object's media file, in seconds
punctuatebooleanOptional
Whether Automatic Punctuation is enabled, either true or false
format_textbooleanOptional
Whether Text Formatting is enabled, either true or false
disfluenciesbooleanOptional

Transcribe Filler Words, like “umm”, in your media file; can be true or false

multichannelbooleanOptional

Whether Multichannel transcription was enabled in the transcription request, either true or false

audio_channelsintegerOptional
The number of audio channels in the audio file. This is only present when multichannel is enabled.
webhook_urlstringOptionalformat: "url"

The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.

webhook_status_codeintegerOptional
The status code we received from your server when delivering the transcript completed or failed webhook request, if a webhook URL was provided
webhook_auth_header_namestringOptional
The header name to be sent with the transcript completed or failed webhook requests
auto_highlights_resultobjectOptional

An array of results for the Key Phrases model, if it is enabled. See Key Phrases for more information.

audio_start_fromintegerOptional
The point in time, in milliseconds, in the file at which the transcription was started
audio_end_atintegerOptional
The point in time, in milliseconds, in the file at which the transcription was terminated
boost_paramstringOptional
The word boost parameter value
filter_profanitybooleanOptional

Whether Profanity Filtering is enabled, either true or false

redact_pii_audiobooleanOptional

Whether a redacted version of the audio file was generated, either true or false. See PII redaction for more information.

redact_pii_audio_qualityenumOptional

The audio quality of the PII-redacted audio file, if redact_pii_audio is enabled. See PII redaction for more information.

Allowed values:
redact_pii_policieslist of enumsOptional

The list of PII Redaction policies that were enabled, if PII Redaction is enabled. See PII redaction for more information.

redact_pii_subenumOptional

The replacement logic for detected PII, can be “entity_type” or “hash”. See PII redaction for more details.

Allowed values:
speaker_labelsbooleanOptional

Whether Speaker diarization is enabled, can be true or false

speakers_expectedintegerOptional

Tell the speaker label model how many speakers it should attempt to identify, up to 10. See Speaker diarization for more details.

content_safetybooleanOptional

Whether Content Moderation is enabled, can be true or false

content_safety_labelsobjectOptional

An array of results for the Content Moderation model, if it is enabled. See Content moderation for more information.

iab_categoriesbooleanOptional

Whether Topic Detection is enabled, can be true or false

iab_categories_resultobjectOptional

The result of the Topic Detection model, if it is enabled. See Topic Detection for more information.

custom_spellinglist of objectsOptional
Customize how words are spelled and formatted using to and from values
keyterms_promptlist of stringsOptional

Improve accuracy with up to 1000 domain-specific words or phrases (maximum 6 words per phrase).

auto_chaptersbooleanOptional

Whether Auto Chapters is enabled, can be true or false

chapterslist of objectsOptional
An array of temporally sequential chapters for the audio file
summary_typestringOptional

The type of summary generated, if Summarization is enabled

summary_modelstringOptional

The Summarization model used to generate the summary, if Summarization is enabled

summarystringOptional

The generated summary of the media file, if Summarization is enabled

topicslist of stringsOptional
The list of custom topics provided if custom topics is enabled
sentiment_analysisbooleanOptional

Whether Sentiment Analysis is enabled, can be true or false

sentiment_analysis_resultslist of objectsOptional

An array of results for the Sentiment Analysis model, if it is enabled. See Sentiment Analysis for more information.

entity_detectionbooleanOptional

Whether Entity Detection is enabled, can be true or false

entitieslist of objectsOptional

An array of results for the Entity Detection model, if it is enabled. See Entity detection for more information.

speech_thresholddoubleOptional

Defaults to null. Reject audio files that contain less than this fraction of speech. Valid values are in the range [0, 1] inclusive.

throttledbooleanOptional
True while a request is throttled and false when a request is no longer throttled
errorstringOptional
Error message of why the transcript failed
dual_channelbooleanOptionalDeprecated

Whether Dual channel transcription was enabled in the transcription request, either true or false

speed_boostbooleanOptionalDeprecated
Whether speed boost is enabled
word_boostlist of stringsOptionalDeprecated
The list of custom vocabulary to boost transcription probability for
promptstringOptionalDeprecated
This parameter does not currently have any functionality attached to it.
custom_topicsbooleanOptionalDeprecated
Whether custom topics is enabled, either true or false

Errors