Get Transcription
Your personal Gladia API key
Id of the transcription
curl --request GET \
--url https://api.gladia.io/v2/transcription/{id} \
--header 'x-gladia-key: <api-key>'
{
"id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-45463597",
"kind": "pre-recorded",
"created_at": "2023-12-28T09:04:17.210Z",
"status": "queued",
"file": {
"id": "f0dcZE10-23d8-47f0-a25d-74a6eed88721",
"filename": "split_infinity.wav",
"source": "http://files.gladia.io/example/audio-transcription/split_infinity.wav",
"audio_duration": 20,
"number_of_channels": 1
},
"request_params": {
"audio_url": "http://files.gladia.io/example/audio-transcription/split_infinity.wav",
"subtitles": false,
"diarization": false,
"translation": false,
"summarization": false,
"sentences": false,
"moderation": false,
"audio_enhancer": true,
"detect_language": true,
"enable_code_switching": false
}
}
Authorizations
Your personal Gladia API key
Path Parameters
Id of the transcription
Response
Id of the transcription
Debug id
Transcription kind. "pre-recorded" for transcription on pre-recorded file. "live" for transcription using the live streaming websocket.
pre-recorded
, live
Creation date
Custom metadata given in the transcription request
The file data you uploaded
The file id
The name of the uploaded file
The link used to download the file if audio_url was used
Duration of the audio file
Number of channels in the audio file
Parameters used for this transcription.
Context to feed the transcription model with for possible better performance
Specific vocabulary list to feed the transcription model with
Detect the language from the given audio
Detect multiple languages in the given audio
Set the spoken language for the given audio
af
, sq
, am
, ar
, hy
, as
, az
, ba
, eu
, be
, bn
, bs
, br
, bg
, ca
, zh
, hr
, cs
, da
, nl
, en
, at
, fo
, fi
, fr
, gl
, ka
, de
, el
, gu
, ht
, ha
, haw
, he
, hi
, hu
, is
, id
, it
, jp
, jv
, kn
, kk
, km
, ko
, lo
, la
, lv
, ln
, lt
, lb
, mk
, mg
, ms
, ml
, mt
, mi
, mr
, mn
, mymr
, ne
, no
, nn
, oc
, ps
, fa
, pl
, pt
, pa
, ro
, ru
, sa
, sr
, sn
, sd
, si
, sk
, sl
, so
, es
, su
, sw
, sv
, tl
, tg
, ta
, tt
, te
, th
, bo
, tr
, tk
, uk
, ur
, uz
, vi
, cy
, yi
, yo
Callback URL we will do a POST
request to with the result of the transcription
Enable subtitles generation for this transcription
Configuration for subtitles generation if subtitles
is enabled
Subtitles formats you want your transcription to be formatted to
srt
, vtt
Enable speaker recognition (diarization) for this audio
Speaker recognition configuration, if diarization
is enabled
Exact number of speakers in the audio
Minimum number of speakers in the audio
Maximum number of speakers in the audio
Enable translation for this audio
Translation configuration, if translation
is enabled
Target language in iso639-1
format you want the transcription translated to
af
, sq
, am
, ar
, hy
, as
, ast
, az
, ba
, eu
, be
, bn
, bs
, br
, bg
, my
, ca
, ceb
, zh
, hr
, cs
, da
, nl
, en
, at
, fo
, fi
, nl
, fr
, fy
, ff
, gd
, gl
, lg
, ka
, de
, el
, gu
, ht
, ha
, haw
, he
, hi
, hu
, is
, ig
, ilo
, id
, ga
, it
, jp
, jv
, kn
, kk
, km
, ko
, lo
, la
, lv
, ln
, lt
, lb
, mk
, mg
, ms
, ml
, mt
, mi
, mr
, mo
, mn
, mymr
, ne
, no
, nn
, oc
, or
, pa
, ps
, fa
, pl
, pt
, pa
, ro
, ru
, sa
, sr
, sn
, sd
, si
, sk
, sl
, so
, es
, su
, sw
, ss
, sv
, tl
, tg
, ta
, tt
, te
, th
, bo
, tn
, tr
, tk
, uk
, ur
, uz
, vi
, cy
, wo
, xh
, yi
, yo
, zu
Model you want the translation model to use to translate
base
, enhanced
Enable summarization for this audio
Summarization configuration, if summarization
is enabled
The type of summarization to apply
general
, bullet_points
, concise
Enable moderation for this audio
Enable audio to llm processing for this audio
Audio to llm configuration, if audio_to_llm
is enabled
The list of prompts applied on the audio transcription
Enable sentences for this audio
Transcription is on the queue, waiting to be processed
queued
Was this page helpful?
curl --request GET \
--url https://api.gladia.io/v2/transcription/{id} \
--header 'x-gladia-key: <api-key>'
{
"id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-45463597",
"kind": "pre-recorded",
"created_at": "2023-12-28T09:04:17.210Z",
"status": "queued",
"file": {
"id": "f0dcZE10-23d8-47f0-a25d-74a6eed88721",
"filename": "split_infinity.wav",
"source": "http://files.gladia.io/example/audio-transcription/split_infinity.wav",
"audio_duration": 20,
"number_of_channels": 1
},
"request_params": {
"audio_url": "http://files.gladia.io/example/audio-transcription/split_infinity.wav",
"subtitles": false,
"diarization": false,
"translation": false,
"summarization": false,
"sentences": false,
"moderation": false,
"audio_enhancer": true,
"detect_language": true,
"enable_code_switching": false
}
}