- Languages - Retrieve list of languages supported by LEXI Translate
- Voices - Retrieve list of voices supported by LEXI Voice
- Instances - Retrieving, creating, and deleting LEXI Translate Instances
- Transcripts - Retrieving caption files and transcripts from LEXI Translate jobs
- Models - Retrieving, creating, editing, and deleting Do Not Translate models
- Glossary Models - Retrieving, creating, editing, and deleting Glossary models
- Voice Models - Retrieving, creating, editing, and deleting Voice models
Denotes an optional parameter.
The following provides for the retrieval of the list of supported languages to translate to and from.
The following provides for the retrieval of the list of supported voices for LEXI Voice.
The following provides for the creation and retrieval of instances through the LEXI Translate API.
Resource | Description | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GET /live/v2/instances |
ActionRetrieves list of LEXI Translate instances available to your credential set.
|
||||||||||||||||||||||||||||||||||||||||||
POST /live/v2/instances/ |
ActionCreates a new instance. Returns a JSON-Serialized instance on completion. Parameters (JSON)
Denotes an optional parameter. |
||||||||||||||||||||||||||||||||||||||||||
GET /live/v2/instances/:instance_id |
ActionRetrieves the specified instance. Parameters (Path)
Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||
PUT /live/v2/instances/:instance_id |
ActionUpdates an existing instance and replaces the existing settings. Returns a JSON-Serialized instance on completion. Parameters (JSON)Parameters are identical to the POST request used to create instances (above). Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||
PATCH /live/v2/instances/:instance_id |
ActionModifies an existing instance with select settings. Returns a JSON-Serialized instance on completion. Parameters (JSON)Parameters are identical to the POST request used to create instances (above). Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||
DELETE /live/v2/instances/:instance_id |
Action
Deletes the specified instance.
Parameters (Path)
|
||||||||||||||||||||||||||||||||||||||||||
POST /live/v2/instances/:instance_id/turn_on |
ActionActivates the specified :instance_id (instance) to start caption service. Parameters (Path)
Parameters (JSON)These are optional parameters that are carried with the instance job into the activity reports.
Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||
POST /live/v2/instances/:instance_id/turn_off |
ActionTerminates the specified :instance_id (instance) to cease caption service. Parameters (Path)
Parameters (JSON)
Parameters (Query)
|
Denotes an optional parameter.
The following provides for retrieving LEXI Translate transcript caption files through the REST API.
Denotes an optional parameter.
The following provides for the creation and retrieval of Do Not Translate models through the LEXI Translate API.
Resource | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GET /models |
ActionRetrieves a JSON-serialized representation of all Do Not Translate models associated with the billing group. |
||||||||||||||
POST /models |
ActionCreates a new Do Not Translate model. Parameters (JSON)
|
||||||||||||||
GET /models/:model_id |
ActionRetrieves a JSON-serialized representation of a Do Not Translate model. Parameters (Path)
|
||||||||||||||
DELETE /models/:model_id |
Action
Deletes a Do Not Translate model.
Parameters (Path)
|
||||||||||||||
GET /models/:model_id/notranslate |
ActionRetrieves the entries of a Do Not Translate model as a .csv or JSON. Parameters (Path)
Parameters (Query)
|
||||||||||||||
POST /models/:model_id/notranslate |
ActionUpdates the entries of a Do Not Translate model. Parameters (Path)
Parameters (Query)
Parameters (form-data)
Patch .csv file ExampleThis .csv file will add a case-insensitive entry for "MyPhrase0" and a case-sensitive entry for "MyPhrase1": MyPhrase0,false MyPhrase1,true |
||||||||||||||
PATCH /models/:model_id/notranslate |
ActionUpdates the entries of a Do Not Translate model. Parameters (Path)
Parameters (JSON)
Patch Object
ExampleThis JSON will add an entry for "MyPhrase", and delete an existing entry for "OldPhrase": { "patchNoTranslates":{ "MyPhrase":{ "word": "MyPhrase", "caseSensitive": false }, "OldPhrase": null } } |
Denotes an optional parameter.
The following provides for the creation and retrieval of Glossary models through the LEXI Translate API.
Resource | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
GET /models/v2 |
ActionRetrieves a JSON-serialized representation of all Glossary models associated with the billing group. |
|||||||||||
POST /models/v2 |
ActionCreates a new Glossary model. Parameters (JSON)
|
|||||||||||
GET /models/v2/:model_id |
ActionRetrieves a JSON-serialized representation of a Glossary model. Parameters (Path)
|
|||||||||||
PUT /models/v2/:model_id |
ActionUpdates an existing Glossary model and replaces the existing settings. Parameters (Path)
Parameters (JSON)
|
|||||||||||
DELETE /models/v2/:model_id |
Action
Deletes a Glossary model.
Parameters (Path)
|
|||||||||||
GET /models/v2/:model_id/glossary |
ActionRetrieves the entries of a Glossary model as a .csv or JSON. Parameters (Path)
Parameters (Query)
|
|||||||||||
POST /models/v2/:model_id/glossary |
Action
Updates the entries of a Glossary model.
Parameters (Path)
Parameters (Query)
Parameters (form-data)
Patch .csv file ExampleThis .csv file will add an entry for "Brand Name" to not be translated and an entry for "house" to be translated to "maison": Brand Name, house,maison |
|||||||||||
PATCH /models/v2/:model_id/glossary |
ActionUpdates the entries of a Glossary model. Parameters (Path)
Parameters (JSON)
Patch Object
ExampleThis JSON will add an entry for "home", will add an entry for "Brand Name", and delete an existing entry for "parking": { "glossary": [ { "source": "home", "target": "maison" }, { "source": "Brand Name", "target": "" }, { "source": "parking", "target": null } ] } |
|||||||||||
GET /models/v2/:model_id/glossary/status |
Action
Retrieves the global_status of the Glossary model and each individual status for each
compatible engine.
Parameters (Path)
Example ResponseThe global_status is only deemed "READY" when all compatible engines are ready for translation: { "model_status": { "deepl_glossary_compatible": true, "deepl_glossary_status": "READY", "global_status": "READY", "google_glossary_compatible": true, "google_glossary_status": "READY", "modelID": "example-model-ID" } } |
Denotes an optional parameter.
The following provides for the creation and retrieval of Voice models through the LEXI Translate API.
Resource | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GET /models/voice |
ActionRetrieves a JSON-serialized representation of all Voice models associated with the billing group. |
||||||||||||||
POST /models/voice |
ActionCreates a new Voice model. Parameters (JSON)
|
||||||||||||||
GET /models/voice/:model_id |
ActionRetrieves a JSON-serialized representation of a Voice model. Parameters (Path)
|
||||||||||||||
PUT /models/voice/:model_id |
ActionUpdates an existing Voice model and replaces the existing settings. Parameters (Path)
Parameters (JSON)
|
||||||||||||||
DELETE /models/voice/:model_id |
Action
Deletes a Voice model.
Parameters (Path)
|
||||||||||||||
GET /models/voice/:model_id/pronunciations |
ActionRetrieves the pronunciation entries of a Voice model as a .csv or JSON. Parameters Path)
Parameters (Query)
|
||||||||||||||
POST /models/voice/:model_id/pronunciations |
Action
Updates the entries of a Voice model.
Parameters (Path)
Parameters (Query)
Parameters (form-data)
Patch .csv file ExampleThis .csv file will add a case-sensitive entry for "hyperbole" to be pronounced as "hy-PUR-buh-lee" and a case-insensitive entry for "Ai-Media" to be pronounced as "ay-eye mee-dee-uh": hyperbole,hy-PUR-buh-lee,True Ai-Media,ay-eye mee-dee-uh,False |
||||||||||||||
PATCH /models/voice/:model_id/pronunciations |
ActionUpdates the entries of a Voice model. Parameters (Path)
Parameters (JSON)
Patch Object
ExampleThis JSON will add a case-sensitive entry for "hyperbole", will add a case-insensitive entry for "Ai-Media", and delete an existing entry for "parking": { "dictionary": [ { "word": "hyperbole", "pronunciation": "hy-PUR-buh-lee", "case_sensitive": True }, { "word": "Ai-Media", "pronunciation": "ay-eye mee-dee-uh", "case_sensitive": False }, { "word": "parking", "pronunciation": null } ] } |
Denotes an optional parameter.