curl --request GET \
--url https://api.gladia.io/v2/pre-recorded/{id} \
--header 'x-gladia-key: <api-key>'{
"id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-45463597",
"version": 2,
"status": "queued",
"created_at": "2023-12-28T09:04:17.210Z",
"post_session_metadata": {},
"kind": "pre-recorded",
"completed_at": "2023-12-28T09:04:37.210Z",
"custom_metadata": {
"user": "John Doe"
},
"error_code": 500
}Get pre-recorded transcription’s status, parameters and result.
curl --request GET \
--url https://api.gladia.io/v2/pre-recorded/{id} \
--header 'x-gladia-key: <api-key>'{
"id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
"request_id": "G-45463597",
"version": 2,
"status": "queued",
"created_at": "2023-12-28T09:04:17.210Z",
"post_session_metadata": {},
"kind": "pre-recorded",
"completed_at": "2023-12-28T09:04:37.210Z",
"custom_metadata": {
"user": "John Doe"
},
"error_code": 500
}Your personal Gladia API key
Id of the pre recorded job
"45463597-20b7-4af7-b3b3-f5fb778203ab"
The pre recorded 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