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",
"version": 2,
"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,
"named_entity_recognition": false,
"name_consistency": false,
"speaker_reidentification": false,
"custom_spelling": false,
"structured_data_extraction": false,
"chapterization": false,
"sentiment_analysis": false,
"display_mode": false,
"audio_enhancer": false,
"language_config": {
"code_switching": false,
"languages": [
"fr",
"en"
]
},
"accurate_words_timestamps": false,
"diarization_enhanced": false,
"punctuation_enhanced": false
},
"completed_at": null,
"custom_metadata": null,
"error_code": null,
"result": null
}(Deprecated) Prefer the more specific pre-recorded endpoint.
Get transcription’s status, parameters and result.
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",
"version": 2,
"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,
"named_entity_recognition": false,
"name_consistency": false,
"speaker_reidentification": false,
"custom_spelling": false,
"structured_data_extraction": false,
"chapterization": false,
"sentiment_analysis": false,
"display_mode": false,
"audio_enhancer": false,
"language_config": {
"code_switching": false,
"languages": [
"fr",
"en"
]
},
"accurate_words_timestamps": false,
"diarization_enhanced": false,
"punctuation_enhanced": false
},
"completed_at": null,
"custom_metadata": null,
"error_code": null,
"result": null
}Your personal Gladia API key
Id of the transcription job
"45463597-20b7-4af7-b3b3-f5fb778203ab"
The transcription job's metadata
Id of the job
"45463597-20b7-4af7-b3b3-f5fb778203ab"
Debug id
"G-45463597"
API version
2
"queued": the job has been queued. "processing": the job is being processed. "done": the job has been processed and the result is available. "error": an error occurred during the job's processing.
queued, processing, done, error Creation date
"2023-12-28T09:04:17.210Z"
For debugging purposes, send data that could help to identify issues
pre-recorded "pre-recorded"
Completion date when status is "done" or "error"
"2023-12-28T09:04:37.210Z"
Custom metadata given in the initial request
{ "user": "John Doe" }HTTP status code of the error if status is "error"
400 <= x <= 599500
The file data you uploaded. Can be null if status is "error"
Show child attributes
Parameters used for this pre-recorded transcription. Can be null if status is "error"
Show child attributes
Pre-recorded transcription's result when status is "done"
Show child attributes