# From Gladia's v1 API

Last updated: 2026-11-15

Gladia Enterprise serves Gladia's **v2** API only. An integration still on the cloud's **v1** routes moves to v2
before it moves to Gladia Enterprise ([From Gladia's cloud API](/migrations/from-gladia-cloud/)): the v1 routes answer
`404` here.

## The v1 routes and their v2 replacements

| v1 route (Gladia's cloud) | on Gladia Enterprise | use instead |
|---|---|---|
| `POST /audio/text/audio-transcription` | not served (`404`) | `POST /v2/upload` for a local file, then `POST /v2/pre-recorded` ([Transcribe a file](/pre-recorded/transcribe-a-file/)) |
| `POST /video/text/video-transcription` | not served (`404`) | the same: a video file is uploaded and transcribed like an audio file |
| `GET /v1/history` | not served (`404`) | `GET /v2/pre-recorded` (pre-recorded jobs) and `GET /v2/live` (live sessions) |
| the v1 live WebSocket | refused | `POST /v2/live`, then the WebSocket of the `url` it returns ([Quickstart](/introduction/quickstart/)) |
| `GET /v1/models` | not served (`404`) | the models are listed in the docs ([Models](/introduction/models/)) |

## A v1 transcription, field by field

v1 answered with the transcript in the same request; v2 creates a job and answers its `id` at once: read
`GET /v2/pre-recorded/{id}` until it is `done`, or set a callback ([Callbacks](/pre-recorded/callbacks/)).

| v1 field | v2 (`POST /v2/pre-recorded`) |
|---|---|
| `audio`, `video` (a file) | upload it with `POST /v2/upload`, then send the `audio_url` it returns |
| `audio_url`, `video_url` | `audio_url` |
| `language_behaviour: "automatic single language"` | `language_config: {"languages": [], "code_switching": false}`, the default |
| `language_behaviour: "automatic multiple languages"` | `language_config: {"code_switching": true}` |
| `language_behaviour: "manual"` with `language` (a name, `french`) | `language_config: {"languages": ["fr"]}`: a code, not a name ([Supported languages](/pre-recorded/supported-languages/)) |
| `toggle_diarization` | `diarization` |
| `diarization_num_speakers` | `diarization_config.number_of_speakers` |
| `diarization_min_speakers`, `diarization_max_speakers` | `diarization_config.min_speakers`, `diarization_config.max_speakers` |
| `toggle_direct_translate` with `target_translation_language` (a name) | `translation: true` with `translation_config: {"target_languages": ["en"]}` (codes), on the `solaria-3` model |
| `output_format: "srt"` or `"vtt"` | `subtitles: true` with `subtitles_config: {"formats": ["srt"]}` ([Subtitles](/pre-recorded/add-ons/)) |
| `output_format: "txt"`, `"plain"` | `result.transcription.full_transcript` |
| `output_format: "json"` | the job's `result` |
| `webhook_url` | `callback: true` with `callback_config: {"url": "…"}` |
| `transcription_hint` | no equivalent: name the words to recognise with `custom_vocabulary` |
| `toggle_audio_enhancer` | no equivalent on pre-recorded jobs |
| `toggle_accurate_words_timestamps` | nothing to set: every word has its times |

## The v1 live WebSocket

v1 opened the WebSocket first and sent the settings as its first message. v2 creates the session with
`POST /v2/live` (the settings are its body, the API key its `x-gladia-key` header), then opens the WebSocket of
the `url` it returns and sends the audio. The settings keep their meaning; their names are those of the v2
init ([API reference](/api-reference/v2/live/init/)), and a language is a code, not a name.
