- Engines - Retrieving available EEG ASR engines.
- Instances - Retrieving, creating, and deleting LEXI Live Instances
- Jobs - Retrieving, creating and deleting LEXI jobs (deprecated).
- Transcripts - Retrieving caption transcripts from LEXI Live jobs
- Topic Models - Retrieving, creating, editing, and deleting LEXI custom topic models
- Topic Models - Word entries - Retrieving, creating, editing, and deleting custom topic model word entries
- Topic Models - Substitution / Blacklist - Retrieving, creating, editing, and deleting custom topic model substitution entries
Denotes an optional parameter.
The following provides retrieval of available engines.
The following provides for the creation and retrieval of instances through the LEXI Live API.
| Resource | Description | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GET /live/v2/instances |
ActionRetrieves list of LEXI Live instances available to your credential set. Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||||||
| GET /live/v2/instances/:instance_id |
ActionRetrieves the specified :instance_id (instance). Parameters (Path)
Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||||||
| 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)These are optional parameters that are carried with the instance job into the activity reports.
Parameters (Query)
|
||||||||||||||||||||||||||||||||||||||||||||||
| GET /live/v2/instances/:instance_id/keep_alive |
ActionRetrieves the keep-alive status/information of the specified :instance_id (instance), if available. Parameters (Path)
|
||||||||||||||||||||||||||||||||||||||||||||||
| POST /live/v2/instances/:instance_id/keep_alive |
ActionIf the specified :instance_id (instance) is scheduled to terminate within a specified number of seconds (defaulting to 30 seconds), allow the instance to keep running until the user terminates it through other means. Parameters (Path)
Parameters (JSON)
|
||||||||||||||||||||||||||||||||||||||||||||||
| DELETE /live/v2/instances/:instance_id/keep_alive |
ActionRemoves the keep-alive status/information from the specified :instance_id (instance), if available. This removes the ability to keep the instance alive if previously activated. If the instance does not have keep-alive information, the API returns a BAD REQUEST error. Parameters (Path)
|
||||||||||||||||||||||||||||||||||||||||||||||
| POST /live/v2/instances |
ActionCreates a new instance. Returns a JSON-Serialized instance on completion. Parameters (JSON)
|
||||||||||||||||||||||||||||||||||||||||||||||
| 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_id.
Parameters (Path)
|
Denotes an optional parameter.
NOTE: The LEXI v1 (Jobs) API is deprecated
Please refer to Instances.
| Resource | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GET /live/v1/jobs |
ActionRetrieve a list of recent LEXI Live jobs Parameters (Query)
|
||||||||||||||||||||||||
| GET /live/v1/jobs/:job_id |
ActionRetrieves detailed information of the specified :job_id. Parameters (Path)
|
||||||||||||||||||||||||
| POST /live/v1/jobs |
ActionCreates a new LEXI Live job and launches it immediately. Parameters (JSON)
|
Denotes an optional parameter.
The following table provides a quick definition for retrieving LEXI Live transcripts caption files through the REST API.
| Resource | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GET /live/v1/jobs/:job_id/assemble_data |
ActionNOTE: This endpoint is deprecated, please use instances and the associated assemble_data endpoint. Parameters (Path)
Parameters (Query)
|
||||||||||||||||||
| POST /live/v2/instances/:instance_id/assemble_data |
ActionRetrieves a caption transcript from a specific LEXI Live instance. Parameters (Path)
Parameters (JSON)
|
||||||||||||||||||
| POST /live/v2/transcripts/job/:job_id |
ActionStarts an asynchronous transcript task for a specific LEXI Live 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 Live 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 custom topic models through the LEXI API.
NOTE: Legacy Topic Model endpoints are still supported with URL redirects to the new v3 endpoint.
You must use /v3 endpoints for Topic Models if your client does not follow URL redirects.
Example: POST /models should be changed to POST /models/v3
Denotes an optional parameter.
Retrieving, creating, editing, and deleting custom topic model word entries
| Resource | Description | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| POST /models/v3/:model_id/words?overwrite=:overwrite |
Action
Updates the word entries of a custom topic model.
Parameters (Path)
Parameters (form-data)
words_file CSV FileDo not include a header row. The CSV format is:
Example
|
|||||||||||||
| PATCH /models/v3/:model_id/words |
Action
Updates the word entries of a custom topic model.
Parameters (Path)
Parameters (JSON)
Patch Object
ExampleThis JSON will add a pronunciation for Fred Flintstone that includes some common mispronunciations, update an existing pronunciation for Wilma Flintstone, and delete an existing pronunciation for Barney Rubble
{
"patchWords":{
"Fred Flintstone":{
"sounds_like":[
"Fred Flint Stone",
"Fred Flind Stone",
"Fred Flin Stone"
],
"word":"Fred Flintstone"
},
"Wilma Flintstone":{
"sounds_like":[
"Will Ma Flint Stone"
],
"word":"Wilma Flintstone"
},
"Barney Rubble": null
}
}
|
|||||||||||||
Denotes an optional parameter.
Retrieving, creating, editing, and deleting custom topic model substitution entries.
| Resource | Description | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GET /models/v3/:model_id/substitutions |
Action
Retrieves the substitutions of a custom topic model as JSON.
Parameters (Path)
POST /models/v3/:model_id/substitutions?overwrite=:overwrite
|
|
ActionSet/append substitution/blacklist words entries for a custom topic model. Parameters (Path)
Parameters (form-data)
substitution_file CSV FileDo not include a header row. The CSV format is:
ExampleThis JSON will add a substitution for "BadWord"
PATCH /models/v3/:model_id/substitutions
|
|
ActionUpdates the substitution/blacklist words entries of a custom topic models. Parameters (Path)
Parameters (JSON)
Patch Object
ExampleThis JSON will add a substitution for "BadWord", and delete an existing substitution for "OldBadWord"
{
"patchSubstitutions":{
"BadWord":{
"word":"BadWord",
"substitution":"GoodWord"
},
"OldBadWord":null
}
}
Denotes an optional parameter. | ||||||||||||||||||||||||||||||||||||||