- 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.
| Resource | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| POST /live/v2/instances/:instance_id/assemble_data |
ActionRetrieves a caption transcript from a specific LEXI Translate instance. Parameters (Path)
Parameters (JSON)
|
||||||||||||||||||
| POST /live/v2/transcripts/job/:job_id |
ActionStarts an asynchronous transcript task for a specific LEXI Translate job. Returns a task ID that can be used to poll for status and retrieve the assembled captions when ready. This is the simplest way to retrieve captions for a single job - the start and end times default to the job's creation and termination timestamps. If the job is still running, the end time is clamped to the current time. See this guide for a quick introduction to using the transcript endpoints. Parameters (Path)
Parameters (JSON)
ReturnsReturns a JSON object containing a task_id that can be used with the GET endpoint below to check status and retrieve the assembled captions. |
||||||||||||||||||
| POST /live/v2/transcripts/instance/:instance_id |
ActionStarts an asynchronous transcript task for a LEXI Translate instance. Returns a task ID that can be used to poll for status and retrieve the assembled captions when ready. Use this endpoint when you need to retrieve captions across multiple jobs within an instance, or when you want to specify a custom time range. For single-job transcript retrieval, consider using the simpler job-based endpoint instead. See this guide for a quick introduction to using the transcript endpoints. Parameters (Path)
Parameters (JSON)
ReturnsReturns a JSON object containing a task_id that can be used with the GET endpoint below to check status and retrieve the assembled captions. |
||||||||||||||||||
| GET /live/v2/transcripts/:task_id |
ActionRetrieves the status and result of an asynchronous transcript task. While the task is in progress, returns status information with HTTP 202. When complete, returns the assembled caption file directly with HTTP 200. This endpoint works for both job-based and instance-based transcript requests. Parameters (Path)
Parameters (Query)
ResponseHTTP 202: Task is still in progress. Response contains status information in JSON format including task_id, status ("pending" or "started"), and other metadata. HTTP 200 (with download=true or default): Task is complete. Response body contains the assembled caption file content directly. The Content-Type header will be set appropriately for the file type. HTTP 200 (with download=false): Task is complete. Response contains JSON with a download_url (presigned S3 URL) for the assembled caption file, along with other metadata including expires_in (seconds until URL expires). NOTE: The expiry value may change over time. |
Denotes an optional parameter.
The following provides for the creation and retrieval of Do Not Translate models through the LEXI Translate API.
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",
"google_glossary_compatible": true,
"google_glossary_status": "READY",
"xl8_glossary_compatible": true,
"xl8_glossary_status": "READY",
"global_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.