Migrate from Gladia's cloud API
The Gladia Connect API speaks the same protocol as Gladia’s cloud API (api.gladia.io, Live V2). An integration
still on the cloud’s v1 routes moves to v2 first: From Gladia’s v1 API.
There are two ways to move:
| Move your account yourself | Move with your account manager | |
|---|---|---|
| For | most accounts | company setups managing several accounts, a new contract, a new region |
| How | the migration page, about 5 minutes | a meeting, then your team changes its integration |
| API keys and address | the same: nothing to change in your code | new ge_ keys and your region’s address |
| Webhooks | moved, same addresses and signing secret | set up again |
| History | the period you choose, up to 400 days | starts empty |
| Plan and billing | the same prices, credits and invoices | a new contract |
Move your account yourself
Section titled “Move your account yourself”The migration page moves your account to Gladia Connect with your API keys, your webhooks, the history you choose
and your plan. Your code does not change: the same keys, the same address (api.gladia.io), the same webhooks. Open
it from the link in the e-mail we sent you, or at https://eu1.app.gladia.io/migrate.
Before you start
Section titled “Before you start”The page checks your account and your requests of the last 45 days before anything moves. Three things do not work on Gladia Connect: fix them on your current integration first, and nothing breaks when you move.
| What your integration uses | On Gladia Connect | What to do |
|---|---|---|
The v1 API (/audio/text/audio-transcription, /video/text/video-transcription, the v1 real-time WebSocket) |
refused | Move to /v2/pre-recorded and /v2/live: From Gladia’s v1 API |
A callback to an http:// address |
refused: transcripts are never sent unencrypted | Use an https:// address |
| A field Gladia’s cloud API ignored, an older model or language name | accepted, read as on the cloud API | Nothing now; see Deprecated fields |
If your firewall accepts callbacks and webhooks from Gladia’s addresses only, allow Gladia Connect’s too before you move (IP addresses): after the move, they come from there.
The steps
Section titled “The steps”- Your region, when the page offers a choice (Regions).
- Your address. Enter the address you sign in to Gladia with. We e-mail you a 6-digit code; the link in that e-mail opens the page with the code already entered.
- The data processing agreement. Read Gladia Connect’s data processing agreement and accept it. If you need an executed (signed) copy, contact support@gladia.io once your migration is done.
- The checks. Your account, API keys, sessions, webhooks and plan, and whether your requests of the last 45 days work the same on Gladia Connect. Nothing changes on your account. When some requests would not work the same, the page says which ones and why, with a prompt to paste into your AI coding agent, and you can still choose to move: your team then changes them on its side.
- Your history. Choose how much of your past sessions to bring: none, a week, a month, three months, six months, a year, or all of it (400 days). Their transcripts and audio stay readable from Gladia Connect.
- Confirm. The migration starts. You can close the page: we e-mail you when it is done. When many accounts move at once, yours waits its turn and the page shows its place.
Until you confirm, you can go back to a step already done from the steps at the top of the page, or start over.
Before switching anything, the migration checks a last time that every API key, webhook and session you chose is on Gladia Connect. If one is missing, it stops there: your account stays as it was, and our team is told.
After the move
Section titled “After the move”- Your requests to
api.gladia.iowith your current keys run on Gladia Connect within a minute. Nothing to change in your code, your SDK settings or your secrets. - A live session already open when your account moves goes on until it ends; the next ones start on Gladia Connect. A pre-recorded job sent just before finishes as usual: its callback arrives and its result reads with the same id.
- Your webhooks call the same addresses, signed with the same secret.
- Manage your API keys and webhooks in the Gladia Connect console from now on: Gladia’s cloud dashboard no longer changes them for this account.
- To use the Gladia Connect console, set your password: the page’s Go to my workspace opens the password screen with your address filled in. Then invite your team.
- Read What differs and check your product with real audio: endpointing, the moment finals are sent and live named entities above all.
- Something does not look right? Reply to the e-mail we sent you: our team can move you back while we look into it.
When the page sends you to support
Section titled “When the page sends you to support”Some setups are specific and not eligible for the self-serve migration: a company account that manages several Gladia accounts, an account without a subscription, a specific data retention, among others. The page says so and prepares your message to support@gladia.io, with your reference: our team moves your account with you. When a migration stops on its own, the page shows the step where it stopped, your account stays as it was, and the same message is ready to send.
Move with your account manager
Section titled “Move with your account manager”Step 1: set up your account with your account manager
Section titled “Step 1: set up your account with your account manager”Book a meeting with your Gladia account manager. If you do not know who it is, write to contact@gladia.io and we will put you in touch.
Together you set up:
- Your Gladia Connect contract and billing. It is a dedicated contract, invoiced on its own: your Gladia cloud plan, credits and invoices do not carry over.
- Your region: Europe or the United States (Regions). Your audio and transcripts are processed and stored in that region only.
- Your capacity: how many live sessions you run at the same time (Concurrency), and your account’s default model.
- Your workspace in Gladia Connect, the web console of your region (
https://eu1.app.gladia.iofor Europe; the United States region is coming), and its owner, who then invites the rest of your team.
On this path nothing is copied from your Gladia cloud account: your API keys, your team, your settings and your transcription history stay on Gladia’s cloud API. That account is not changed either: move your traffic when your integration is ready (step 2), not before.
Step 2: migrate your integration
Section titled “Step 2: migrate your integration”1. Use the Gladia SDK
Section titled “1. Use the Gladia SDK”If your integration talks to the API with your own HTTP and WebSocket code, move it to the official SDK first
(SDKs): gladiaio-sdk for Python, @gladiaio/sdk for JavaScript. This is the step we
recommend most strongly.
If you cannot use the SDK, follow Reconnections: with your own client step by step before going to production.
2. Create an API key
Section titled “2. Create an API key”Your Gladia cloud API keys do not work on Gladia Connect. Create a key in Gladia Connect, under API keys
(Authentication); Gladia Connect keys start with ge_. Store it where your
current key is: an environment variable (GLADIA_API_KEY) or your secret manager.
3. Change the API address
Section titled “3. Change the API address”Point the SDK at your region’s address with api_url / apiUrl, or the GLADIA_API_URL environment variable:
client = GladiaClient(api_key=API_KEY, api_url="https://eu1.api.gladia.io")const client = new GladiaClient({ apiKey: process.env.GLADIA_API_KEY, apiUrl: "https://eu1.api.gladia.io",});With your own HTTP client, change the host of every call; the paths do not change:
https://api.gladia.io/v2/livehttps://eu1.api.gladia.io/v2/liveLeave the SDK’s region option unset: the address you call is the region.
4. Name your model
Section titled “4. Name your model”Gladia Connect runs the models your cluster serves (Models), solaria-1 in real time only where your cluster serves it
(not in the Europe region; on premise, when your license includes it and your operator deploys it: solaria-1). The SDKs
send model: "solaria-1" even when your code names none; where your cluster does not serve solaria-1, the session falls back to your account’s default model. Set model yourself, so you know which one transcribes:
solaria-3for multilingual conversations, language detection and translation;solaria-1, where your cluster serves it, to keep the model and the languages of Gladia’s cloud API.
Gladia’s cloud API transcribes 100+ languages on solaria-1. Where your cluster serves solaria-1, it transcribes
the same languages (all but Wolof) with code switching; otherwise each model transcribes its own set
(Supported languages). If your sessions use a language outside the one model you
name, ask your administrator to turn on language routing, set language_config.languages and name no model: the
platform picks a model that transcribes the language, and models.served says which one ran.
5. Check your callbacks
Section titled “5. Check your callbacks”If you receive callbacks, they are now signed with your Gladia Connect workspace’s secret
(whsec_…, in Gladia Connect, Settings → Security). Update the secret your receiver checks the signature with.
If your workspace uses an IP allowlist, add the addresses of the servers
that call the API.
6. Read what differs, then test
Section titled “6. Read what differs, then test”The init body, the callback envelopes and the history API are the same, and so are the WebSocket messages but one:
named_entity_recognition gives its entity types in lower case and more fields
(below). Most integrations run unchanged. Read What differs below,
endpointing, the moment finals are sent and live named entities above all, then run your own tests end to end with
real audio.
7. Move your traffic
Section titled “7. Move your traffic”Run both side by side if you can: send a share of your sessions to Gladia Connect, compare the results, then move the rest. When nothing calls Gladia’s cloud API any more, tell your account manager.
What is the same
Section titled “What is the same”POST /v2/live and its body, the WebSocket protocol and its messages but
named_entity_recognition, messages_config, callbacks and their envelopes (each carries
the WebSocket message), GET /v2/live, GET /v2/live/{id}, DELETE /v2/live/{id}, GET /v2/live/{id}/file, error bodies.
The pre-recorded API is the same too, and so are the older /v2/transcription paths your integration may call:
they are deprecated aliases of /v2/pre-recorded, served on the same jobs, and GET /v2/transcription lists
your live sessions with them, as Gladia Classic does
(API reference: deprecated paths). Nothing to
change in a client that calls them; use /v2/pre-recorded and /v2/live for anything new.
What differs
Section titled “What differs”| Gladia Connect | |
|---|---|
| Account, API keys, billing | moved yourself: the same keys, address and plan (Move your account yourself); with your account manager: a separate account, keys and contract (step 1) |
| Models | the models your cluster serves (Models), with latency profiles |
endpointing when omitted |
0.05 s, as on the cloud API (Endpointing) |
maximum_duration_without_endpointing when omitted |
5 s, as on the cloud API (60 s when finals closes on a turn or a sentence) |
| Acknowledgments | sent once the audio is transcribed (a silence: once processed, about every second), not on receipt: this makes reconnections lossless; a client keeps at most about 30 s, even in a turn still open; for sentence finals, and their acks every few seconds, see finals; acknowledge_on_receipt: true gives the cloud API’s timing, without reconnections |
| Finals | close on the pause, as on the cloud API, without the number hold; finals: "sentence" or a turn policy holds a number being dictated |
| Recordings | FLAC (lossless, about half the size) instead of WAV, for accounts that record: file.filename ends in .flac; to keep WAV, convert the file (ffmpeg -i session.flac session.wav) (Audio recordings) |
| History | moved yourself: the period you chose, up to 400 days, with its transcripts and audio; with your account manager: starts empty |
| History pagination | follow next (a cursor); offset up to 1,000, limit up to 100 |
| Callbacks | an https:// address only (an http:// one is refused); the same payloads, signed; 3 attempts, 5 seconds each, 4xx not retried: live, pre-recorded |
| Account webhooks | the same 7 events, body and signature (the svix-* headers too), on the Enterprise plan, where your cluster offers them; endpoints per workspace, each limited to some API keys if you like, instead of per API key (Account webhooks) |
region |
the region is the API address you call (Regions) |
Pre-recorded API (/v2/pre-recorded, /v2/upload) |
the same API (Transcribe a file); jobs run on the cluster’s own pre-recorded endpoints, or on Gladia’s standard API (Where pre-recorded jobs run); model: solaria-1 or solaria-3 (the other models on staging only, unpriced); solaria-fusion where your cluster offers it (refused with a 400 elsewhere); summarization and audio_to_llm once your cluster connects an LLM for them (Add-ons), audio_to_llm_config.model refused (the cluster picks the model); the formats, limits and online video URLs (YouTube, TikTok…) of Supported formats and limits: the audio and video formats of the cloud API on the cluster’s own endpoints too (WebM, MP4, M4A, AC3, WMA, AMR…), except a few codecs (Dolby Digital Plus, AMR-WB, WMA Pro; on-premise, the formats listed there for now) |
| Live channels | channels from 1 to 8, 1 by default; a wider session is refused with a 400 at POST /v2/live, before any audio is sent: split it across sessions of at most 8 channels (audio formats) |
| Pre-recorded limits | Gladia’s values (8,100 s per file, 200 jobs per minute, 300 waiting, 25 at once); up to 8 channels instead of 2; a file over the duration limit is 413 (Pre-recorded limits) |
| Summarization (pre-recorded) | the same option and result (summarization, summarization_config.type: general, bullet_points, concise), once your cluster’s operator connected an LLM or your workspace has its own; refused with a 400 (not supported: no LLM is configured on this gateway) until then (Summarization) |
| Summarization (live) | the same option, message and result (post_processing.summarization, summarization_config.type; post_summarization before post_final_transcript, summarization in the result), once your cluster’s operator connected an LLM or your workspace has its own; refused with a 400 until then (not supported: no LLM is configured on this gateway), no longer accepted and ignored (Summarization) |
Live custom vocabulary on solaria-3 |
intensity and default_intensity above 0.5 do no more than 0.5, under 0.5 correct fewer words, common words never rewritten, misspelt variants to remove; keyterms_prompt for the words still missed (below) |
| Deprecated fields | accepted with any value and ignored, as on the cloud API |
| Chapterization | not available: accepted, ignored |
| Subtitles (pre-recorded) | written to the SRT and WebVTT standards: SRT timestamps use a comma (00:00:01,000 --> 00:00:02,500; the cloud API’s default style wrote a dot), WebVTT cues carry no number; style: "compliance" caps rows at 42 characters and captions at 2 rows, whatever larger maximum_characters_per_row or maximum_rows_per_caption you send. A parser written for the cloud API’s dot needs the comma (Speakers, subtitles and sentences) |
display_mode (pre-recorded) |
the same option and result: display_mode.results, the transcript regrouped into display lines, as the cloud API’s hidden add-on gives it; included in the price instead of billed apart (Add-ons) |
Translation informal, context |
applied by the translation LLM (the workspace’s own, else the deployment’s), live and pre-recorded (informal live only for now: a pre-recorded job with informal: true answers 400 translation_config.informal: not supported yet for pre-recorded translations on this cluster): every target is then translated from the text (Register and context); they need a translation LLM configured on the gateway (your workspace’s, or the one the operator connected and routed to translation in the gateway’s LLM providers): without one, a live init and a pre-recorded job answer 400 translation_config.informal: not supported: no LLM is configured on this gateway; also refused with mode: "direct", with spoken translation, and, pre-recorded, with pii_redaction. lipsync and match_original_utterances (true or false) are accepted, not applied: every translated utterance matches a transcribed one |
pre_processing.speech_threshold |
applied: how much sound counts as speech; omitted, Gladia Connect’s own default, which differs from the cloud API’s |
pre_processing.audio_enhancer |
applied where your platform runs it, else ignored as on the cloud API (Audio enhancer); off on Gladia’s managed clusters today |
Live named entities (named_entity_recognition message) |
entity_type in lower case (email_address, the cloud API: EMAIL_ADDRESS); each result also carries id, score, char_start, char_end; more types (brand, software, application); data kept with empty results when tagging fails (the cloud API: data: null) (below) |
| Pre-recorded PII redaction, named entities | the same request, markers and presets, each preset redacting what the cloud API redacts for it (below); omitted entity_types: the cloud API’s own default set; marker names always in English ([NAME_1], [OCCUPATION_1], never localised like [OCUPACIÓN_1]); a failed redaction returns the job done with the transcript not redacted, as the cloud API does, plus a pii_redaction entry with "success": false that the cloud API does not write (PII redaction) |
Deprecated fields
Section titled “Deprecated fields”Gladia’s cloud API refuses a field it does not know with a 400, and so does Gladia Connect. A few fields the
cloud API deprecated are the exception: both APIs accept them with any value (true, false, a number, a string,
null or an object) and ignore them, so an integration that still sends them keeps working. They are never applied,
stored or sent on. They are deprecated, as every form of Deprecated Gladia Classic
compatibility: do not send them in new integrations, they may be removed
(decommissioned) in a future release. Remove them from your requests: we count who still sends them.
| request | deprecated fields |
|---|---|
POST /v2/pre-recorded (and POST /v2/transcription) |
moderation, chapterization, structured_data_extraction, structured_data_extraction_config, speaker_reidentification, speaker_reidentification_config, audio_enhancer, context_prompt, diarization_enhanced, x_gladia_version, x_user_agent, x_transcription_pipeline, accurate_words_timestamps, x_gladia_region, user_id, account_id, customer_id, organization_id, tenant_id, project_id, metadata, priority, webhook_url, language_behaviour, languages, region, economic_mode, transcription_config, transcription_hints, custom_prompts, profile |
POST /v2/live |
post_processing.chapterization, realtime_processing.structured_data_extraction, realtime_processing.structured_data_extraction_config, x_gladia_version, x_user_agent, x_transcription_pipeline, streaming_mode, realtime_processing.words_accurate_timestamps, numbers_as_words, language, x_gladia_region, user_id, account_id, customer_id, organization_id, tenant_id, project_id, metadata, priority, webhook_url, language_behaviour, region, economic_mode, transcription_config, transcription_hints, custom_prompts, callback_config.secret, messages_config.transcript_message, realtime_processing.pre_processing |
Only at these places: chapterization at the top of a live init body, or any other unknown field, is still a 400
that names it.
One exception: x_gladia_region naming a region the address you call does not serve (us-west or us on an EU
address) is refused with a 400, as ?region= is: the audio is never processed in another region than the one you
asked for. Call that region’s address, or drop the field. The address’s own region (eu-west on an EU address) is
accepted and ignored.
Older values are rewritten, not ignored, so the request keeps the meaning it has on the cloud API. They are deprecated too:
| request | deprecated value | read as |
|---|---|---|
POST /v2/pre-recorded (and POST /v2/transcription) |
video_url |
audio_url (when the body has an audio_url too, video_url is ignored) |
POST /v2/live |
model: "accurate", model: "solaria-mini-1" |
model: "solaria-1", the model the cloud API runs them on |
POST /v2/live |
a value outside the range: endpointing (0.01 to 10), maximum_duration_without_endpointing (5 to 60), pre_processing.speech_threshold and a vocabulary intensity (0 to 1), channels: 0 |
the nearest value of the range (channels: 1), as the cloud API ran it |
POST /v2/live, POST /v2/pre-recorded (and POST /v2/transcription) |
model: "accurate", model: "solaria-mini-1", model: "solaria-1-diarization" |
model: "solaria-1", the model the cloud API runs them on (diarization stays its own option) |
POST /v2/pre-recorded (and POST /v2/transcription) |
model: "solaria-3-precise", a model name in another case or with spaces around ("SOLARIA-FUSION", "solaria-3 ") |
model: "solaria-3"; the model’s own name |
POST /v2/live, POST /v2/pre-recorded (and POST /v2/transcription) |
a regional language code in language_config.languages (en-IN, fi-FI) |
its language (en, fi) |
POST /v2/live, POST /v2/pre-recorded (and POST /v2/transcription) |
the language codes jp and jv, in language_config.languages and in a translation’s target_languages |
ja (Japanese) and jw (Javanese), as the cloud API reads them: the session, the job and their transcripts carry the current code |
POST /v2/pre-recorded (and POST /v2/transcription) |
diarization_config.min_speakers: 0, diarization_config.max_speakers: 0 |
the bound not being set, as on the cloud API: leave the key out instead. A bound, when set, is 1 to 100 |
The older language fields (deprecated)
Section titled “The older language fields (deprecated)”language, detect_language, enable_code_switching, code_switching_config and languages_guidance are
deprecated: they still work, so an integration written for the cloud API runs unchanged, but new code sets
language_config, and these fields will be removed in a later release.
On POST /v2/pre-recorded (and POST /v2/transcription), the cloud API’s older language fields are folded into
language_config as the cloud API folds them: language becomes languages: [language]; without it, the
languages of code_switching_config (when enable_code_switching is true), else languages_guidance;
code_switching is false for one language, else enable_code_switching. detect_language is dropped: without
a language, the language is detected. A language_config you send wins, and the older fields are then dropped.
Move to language_config: we count who still sends the deprecated fields.
Live custom vocabulary
Section titled “Live custom vocabulary”custom_vocabulary and custom_vocabulary_config are the same fields, and a vocabulary that worked on the cloud API
works without a change. On solaria-3 it behaves differently in three ways: check them before you move your
traffic, with your own audio and your own list.
intensitydoes not get more words right. On the cloud API, a higherintensity(per entry or asdefault_intensity) makes the vocabulary find words heard further from your entry. Onsolaria-3, any value from 0.5 to 1 gives the same transcript as leaving it out: a word still missed stays missed at1.0. A value under 0.5 corrects fewer words, only those heard very close to the entry: a low intensity tuned on the cloud API makes your vocabulary stricter here, so remove it or set it to 0.5 first. For a word still missed, list it inkeyterms_prompt, or add the way it is heard inpronunciations.- Common words are never rewritten. An entry that is also an everyday word (“Plain”, heard as “plane”) is left as the transcript wrote it, where the cloud API may write your entry. To always write it your way, use custom spelling.
- Remove the misspelt variants. A list that holds a word and its misspellings as entries of their own
(“Tipalti”, “Topalty”, “DePalti”) can bring the misspelling into the transcript. Keep the right spelling only, and
move the variants to its
pronunciations.
keyterms_prompt (live, at most 100 terms of at most 6 words) is the setting for the names and terms your
transcripts still miss. It works alone or with custom_vocabulary; the cloud API refuses it with a 400.
{ "model": "solaria-3", "realtime_processing": { "custom_vocabulary": true, "custom_vocabulary_config": { "vocabulary": [{ "value": "Tipalti", "pronunciations": ["topalty", "de palti"] }] }, "keyterms_prompt": ["Siobhan Nguyen", "Aoife Ruairc"] }}PII redaction and named entities
Section titled “PII redaction and named entities”A pre-recorded job’s pii_redaction and named_entity_recognition give what the cloud API gives: the redacted
text with [NAME_1] markers (the type, then a number per value and type, in the order first heard), MASK as
one # per character, blanks included, and the entities’ entity_type in upper case (EMAIL_ADDRESS). The names of
pii_redaction_config.entity_types are the cloud API’s, upper case as its enum takes them, and each one redacts
what the cloud API redacts for it (PII redaction):
| Cloud API | Entity types it redacts | |
|---|---|---|
APPI |
32 | same |
APPI_SENSITIVE |
12 | same |
CCI |
26 | same |
CORE_ENTITIES |
58 | same |
CPRA |
37 | same |
GDPR |
41 | same |
GDPR_SENSITIVE |
7 | same |
HEALTH_INFORMATION |
8 | same |
HIPAA_SAFE_HARBOR |
29 | same |
LIDI |
45 | same |
NUMERICAL_EXCL_PCI |
9 | same |
PCI |
5 | same |
QUEBEC_PRIVACY_ACT |
37 | same |
entity_types omitted or empty |
the cloud API’s own default: 56 types, no health information | same |
the 69 entity types (NAME, PHONE_NUMBER, EMAIL_ADDRESS, …, below) |
itself (a parent: with its sub-types) | same |
[NAME_1], [EMAIL_ADDRESS_1] markers; MASK (##########, blanks included) |
the same numbers, the same words | same |
marker names in the language heard ([NOM_1], [OCUPACIÓN_1], sometimes [DATUM_1] in English) |
in English, always ([NAME_1], [OCCUPATION_1], [DATE_1]) |
differs |
The lists are what the cloud API redacted on 2026-11-09, measured call by call rather than copied from a page: its
own provider’s documentation differs from what it does (it leaves HEALTHCARE_NUMBER out of
HEALTH_INFORMATION, where the cloud API redacts it; it puts its beta types in no group). The five types no call
named (DAY, MONTH, EFFECT, MEDICAL_CODE, PROJECT) are beta: in no preset, as every beta type measured;
PROJECT is in the default, as its family (PRODUCT, TREND, CORPORATE_ACTION). A name the cloud API’s enum
does not take is refused with a 400 that names it, before the job exists. Live sessions keep their own presets
(pii.entities: pii, pci, phi, gdpr…), unchanged (PII redaction).
Gladia Connect also tells a brand (“Nike shoes”), software (“Excel”, “Salesforce”) and an app (“the WhatsApp
app”) apart from the organization or the product. The cloud API has no such types, so a job written for it gets
them as its own: a brand is redacted and reported as an ORGANIZATION ([ORGANIZATION_1]), software and apps
are redacted as a PRODUCT ([PRODUCT_1]), in the default set and whenever ORGANIZATION or PRODUCT is asked.
An Aadhaar number (India’s national identity number) is tagged ssn_in_aadhaar in live sessions; the cloud API’s
entity_types does not take SSN_IN_AADHAAR, so a pre-recorded job redacts it as an SSN ([SSN_1]), in the
default set and whenever SSN is asked, and its named entities report it as an SSN.
The 69 entity types, the same on both
ACCOUNT_NUMBER, AGE, BANK_ACCOUNT, BLOOD_TYPE, CONDITION, CORPORATE_ACTION, CREDIT_CARD,
CREDIT_CARD_EXPIRATION, CREDIT_SCORE, CVV, DATE, DATE_INTERVAL, DATE_OF_DEATH, DAY, DOB, DOSE,
DRIVER_LICENSE, DRUG, DURATION, EFFECT, EMAIL_ADDRESS, EVENT, FILENAME, FINANCIAL_METRIC, GENDER,
HEALTHCARE_NUMBER, INJURY, IP_ADDRESS, LANGUAGE, LOCATION, LOCATION_ADDRESS, LOCATION_ADDRESS_STREET,
LOCATION_CITY, LOCATION_COORDINATE, LOCATION_COUNTRY, LOCATION_STATE, LOCATION_ZIP, MARITAL_STATUS,
MEDICAL_CODE, MEDICAL_PROCESS, MONEY, MONTH, NAME, NAME_FAMILY, NAME_GIVEN,
NAME_MEDICAL_PROFESSIONAL, NUMERICAL_PII, OCCUPATION, ORGANIZATION, ORGANIZATION_ID,
ORGANIZATION_MEDICAL_FACILITY, ORIGIN, PASSPORT_NUMBER, PASSWORD, PHONE_NUMBER, PHYSICAL_ATTRIBUTE,
POLITICAL_AFFILIATION, PRODUCT, PROJECT, RELIGION, ROUTING_NUMBER, SEXUALITY, SSN, STATISTICS, TIME,
TREND, URL, USERNAME, VEHICLE_ID, YEAR, ZODIAC_SIGN
Live named entities
Section titled “Live named entities”A live session’s named_entity_recognition message (WebSocket and callbacks) has the cloud
API’s envelope, type, session_id, created_at, error and data with utterance_id, utterance and
results, but its results differ. A client written for the cloud API’s message must change where it reads them:
| Gladia’s cloud API | Gladia Connect | |
|---|---|---|
entity_type |
upper case: EMAIL_ADDRESS, NAME |
lower case: email_address, name |
| fields of each result | entity_type, text, start, end |
the same, plus id (the same entity keeps it through the session), score (the confidence), char_start, char_end (where the entity is in the utterance’s text); with alternative_names, probability, census, alternatives |
| types | the cloud API’s | the cloud API’s, plus brand, software, application and ssn_in_aadhaar (Entity types) |
| tagging failed on a final | error set, data: null |
error set, data kept with results: [] |
{ "type": "named_entity_recognition", "error": null, "data": { "utterance_id": "00_00000002", "results": [ { "entity_type": "name", "text": "Marie Curie", "start": 4.9, "end": 5.6, "id": 1, "score": 0.97, "char_start": 12, "char_end": 23 } ] }}Compare entity_type without case (entity_type.upper()), or map the lower-case names, and ignore the fields you do
not read: the result is the same whichever field turns the add-on on, realtime_processing.named_entity_recognition: true or named_entity_recognition. A pre-recorded job’s named_entity_recognition.results keeps the cloud API’s
upper case (above). The final transcript lists the same entities in its
utterance.entities (Named entity recognition).
The fields Gladia Connect refuses
Section titled “The fields Gladia Connect refuses”Every other field of Gladia’s cloud API is taken as it is, with the same values, with one condition: an add-on runs
only on the models that run it (Add-ons lists them: translation on solaria-3, for
example). A job that asks for one where no pre-recorded host of your cluster runs it is refused with a 400 that
names it, before anything starts: name the model that runs it. These are the other exceptions, and each is refused with a 400 before anything starts, naming the
field in validation_errors (summarization: not supported: no LLM is configured on this gateway). Nothing is
ever dropped silently, but the deprecated fields above, which the cloud API ignores too.
| Field | Refused | What to do |
|---|---|---|
summarization, summarization_config |
on the cluster’s own hosts, while no LLM is connected | Ask your cluster’s operator to connect one, or drop them (Summarization). Gladia’s standard API runs them. |
audio_to_llm, audio_to_llm_config |
on the cluster’s own hosts, while no LLM is connected | Ask your cluster’s operator to connect one, or drop them (Audio to LLM). Remove audio_to_llm_config.model: the cluster picks the model. A cluster that sends its jobs to Gladia’s standard API refuses them (billed per token there). |
They are all fields of POST /v2/pre-recorded. The live init body (POST /v2/live) refuses none of Gladia’s
fields: its deprecated fields are accepted and ignored, as the table above says.
translation_config.informal and translation_config.context (live and pre-recorded) need a translation LLM
configured on the gateway: your workspace’s own, or the one your operator connected and routed to translation.
Without one they are refused with a 400,
translation_config.informal: not supported: no LLM is configured on this gateway (same for context); with
one they are applied (Register and context).
A refused option is a decision of the platform, not a temporary outage: sending the same request again fails the
same way until the cluster changes (an LLM connected for summarization or audio to LLM). Read the field validation_errors
names, drop it, and send the job again.
Deprecated Gladia Classic compatibility
Section titled “Deprecated Gladia Classic compatibility”Gladia Classic is Gladia’s cloud API (api.gladia.io), the API this guide moves you from. So that an integration
written for it runs unchanged, Gladia Connect still accepts a few of its older forms: an older header, older
paths, older region names, and fields that are ignored or read as their current form.
Each one is deprecated: it is kept only for clients migrated from Gladia Classic. Do not use them in new
integrations: they may be removed (decommissioned) in a future release. Move to what the table says when you next
change your integration. The API reference marks each field deprecated.
| Deprecated | Where | Use instead |
|---|---|---|
x-api-key header |
every HTTP call | x-gladia-key (Authentication) |
/v2/transcription paths |
the pre-recorded API, and the list of every transcription | /v2/pre-recorded, the same jobs; GET /v2/live for the live sessions (the older paths) |
region values eu, us, eu-west, us-west |
POST /v2/live?region= |
eu1 or us1, or no region: the address you call is the region (Regions) |
callback_url |
POST /v2/pre-recorded |
"callback": true with callback_config.url (Callbacks) |
realtime_processing.translation_config.lipsync, realtime_processing.translation_config.match_original_utterances |
POST /v2/live |
nothing: they have no effect, remove them (Translation) |
translation_config.lipsync, diarization_config.utterance_split |
POST /v2/pre-recorded |
nothing: they have no effect, remove them |
realtime_processing.custom_vocabulary_config.vocabulary[].language |
POST /v2/live |
nothing: it has no effect, remove it (Custom vocabulary) |
the deprecated fields above (moderation, chapterization, x_gladia_version…) |
POST /v2/pre-recorded, POST /v2/live |
nothing: they are ignored, remove them |
What you gain
Section titled “What you gain”The API is backward compatible: your integration works without these features. They are what Gladia Connect adds, though, and each one is a single option of the init body. Turn on the ones your product needs.
- End-of-turn detection (
end_of_turn): know when a speaker has finished their turn, from how they speak and not from silence alone. A voice agent answers when the caller is done, not at every pause. - Latency profiles (
profile): trade latency for accuracy per session, fromfasttoprecise. - Numerals (
numerals): amounts, quantities, phone numbers and dates written with digits, ready to store or act on. - PII redaction (
pii): names, phone numbers, emails and card numbers removed from the transcript before it reaches your systems. - Speaker diarization on live audio (
diarization): who said what when several people share one microphone. - Named entities with options (
named_entity_recognition): choose the entities you need. - Lossless reconnections: a session survives a network drop or a server restart without lost or repeated transcripts.
- Your data in one region: real-time audio and transcripts stay in the region you chose; pre-recorded jobs too, unless your operator runs them on Gladia’s standard API, with zero data retention (Where pre-recorded jobs run).
The SDKs do not type these options yet: pass the configuration as a plain dict or object, as SDKs: options of Gladia Connect shows.
Extensions
Section titled “Extensions”Options that only the Gladia Connect API knows. Do not send them to Gladia’s cloud API.
| option | |
|---|---|
profile |
latency profile |
end_of_turn |
end-of-turn detection |
turn_router |
turns off the number hold |
finals |
which event closes a final: "endpointing" is the cloud API’s behaviour |
numerals |
turns off numbers as digits, on by default |
punctuation |
turns off punctuation |
diarization, diarization_config |
speaker diarization on live audio |
named_entity_recognition |
entities, with options |
pii |
PII redaction |
realtime_processing.keyterms_prompt |
key terms the live transcript must get right |
GET /v2/live/defaults |
the values of omitted options |
Checklist
Section titled “Checklist”Moving yourself:
- No v1 request left, no
http://callback (Before you start). - Migration done from the migration page, the history period chosen.
- Password set in the Gladia Connect console, team invited.
- Endpointing and finals checked against your product (What differs).
- If you read live named entities,
entity_typecompared in lower case or without case (Live named entities).
With your account manager:
- Contract, region and capacity set up with your account manager.
- Workspace created, team invited.
- Integration on the Gladia SDK, or a hand-written client that follows Reconnections.
- A
ge_API key in your secret store. -
api_url/apiUrl, or every HTTP call, on your region’s address. -
modelset to a model your cluster serves (Models). - Callback signing secret and IP allowlist updated, if you use them.
- Endpointing and finals checked against your product (What differs).
- If you read live named entities,
entity_typecompared in lower case or without case (Live named entities). - If you send a custom vocabulary, misspelt variants removed and the words still missed listed in
keyterms_prompt(Live custom vocabulary). - End-to-end tests with real audio, then traffic moved.