Skip to main content

Query Batch Models

Get a list of available models for batch processing.

URL: GET https://api.scriptix.io/api/v3/speech-to-text/models


๐Ÿงพ Request Headersโ€‹

The following headers need to be present:

ParameterValueDescription
content-typeapplication/jsonContent type of the request
x-zoom-s2t-keyScriptix Batch API TokenAPI key of type batch for authorization

๐Ÿ“ฆ Responsesโ€‹

Status codeDescriptionPayload
200Models Returnedโœ…
401UnauthorizedโŒ
415Content InvalidโŒ
422Body InvalidโŒ
500Server ErrorโŒ

โœ… Successful Queryingโ€‹

On success, a list of language models will be returned. You should use the key in the response to set the language for the session.

Example response:โ€‹

{
"count": 3,
"total_results": 3,
"result": [
{
"bcp47": "ar",
"has_punctuation": false,
"is_private": false,
"key": "ar",
"name": "Arabic",
"id": 1,
"is_trainable": false
},
{
"bcp47": "da",
"has_punctuation": false,
"is_private": false,
"key": "da",
"name": "Danish",
"id": 2,
"is_trainable": false
},
{
"bcp47": "nl",
"has_punctuation": true,
"is_private": false,
"key": "nl",
"name": "Dutch",
"id": 3,
"is_trainable": false
}
]
}