Skip to content

Download the file

GET /v2/pre-recorded/{id}/file

The file a job transcribed, when it was uploaded with POST /v2/upload (a job given another URL has none here: 404).

Authentication: your API key in the x-gladia-key header (Authentication).

Example

Terminal window
curl https://eu1.api.gladia.io/v2/pre-recorded/0199d7a2-5c3e-7b41-9f0a-3c2d1e4f5a6b/file \
-H "x-gladia-key: $GLADIA_API_KEY" \
-o call.wav

Try it

Parameters

  • id string · path required

    Identifier of the job (id of POST /v2/pre-recorded).

Responses

200 The file.
302 A redirect to a signed download URL.
401 No API key, or an unknown one.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
403 The key may not do this (its scopes, or the addresses it may be used from).
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
404 No such job for your account.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}
503 Pre-recorded transcription is not available right now: try again.
Error body
{
"statusCode": 400,
"timestamp": "2026-10-12T09:04:17.210Z",
"path": "/v2/live",
"message": "Invalid parameter(s). See validation_errors for more details.",
"request_id": "G-1a2b3c4d",
"validation_errors": [
"sample_rate Input should be 8000, 16000, 32000, 44100 or 48000"
],
"error": "string"
}