Skip to 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

Parameter Value Description
content-type application/json
x-zoom-s2t-key Scriptix Batch API Token API key of type batch needed for authorization

Responses

Status code Description Payload
200 Models Returned
401 Unauthorized
415 Content Invalid
422 Body Invalid
500 Server Error

"Successful querying"

On successful querying an API response with the language models will be provided. You should use the Key in the response to set the language for the session.

{
    "count": 3,
    "total_results": 3,
    "result": [
        {
            "bcp47": "ar-ar",
            "has_punctuation": false,
            "is_private": false,
            "key": "ar-ar",
            "name": "Arabic",
            "id": x,
            "is_trainable": false
        },
        {
            "bcp47": "da-dk",
            "has_punctuation": false,
            "is_private": false,
            "key": "da-dk",
            "name": "Danish",
            "id": y,
            "is_trainable": false
        },
        {
            "bcp47": "nl-nl",
            "has_punctuation": true,
            "is_private": false,
            "key": "nl-nl",
            "name": "Dutch",
            "id": z,
            "is_trainable": false
        },
    ]
}