User Tools

Site Tools


api:flexcare:dialog:languages:list

API : FlexCare : Dialog : Languages : List

Introduction

This request is used to retrieve a list of languages used in the Dialog application

Request

URL https://api.telecomx.dk/flexcare/dialog/language
Method GET
Access level RESELLER_ADMIN
Query offset [optional] Index of the first language to return, default is 0.
limit [optional] The number of languages to return, default is 100
filter [optional] Used to filter list of languages
Fields searched: [name]

Query examples

https://api.telecomx.dk/flexcare/dialog/language
https://api.telecomx.dk/flexcare/dialog/language?offset=25&limit=50&filter=something

Response

JSON Object
offset Number Index of the first language returned
limit Number Limit of items returned
total Number Total amount of languages
items Array<LanguageListObject> List of languages
LanguageListObject
_id ObjectId Unique id of the language
name String Name of language in English
nativeName String Native name of the language
country String<ISO 3166> Shorthand for the country, example: “DK”
model String Which model should be utilised when using TTS, STT and Translation
translation String<ollama, nllb> Which engine should be utilised when using TTS, STT and Translation
totalProfiles Number Number of profiles that use this language

Example

{
    offset: 0,
    limit: 50,
    total: 2,
    items: [
        {
            _id: '1234567890qwertyuiopqwer',
            name: 'Danish',
            nativeName: 'Dansk',
            country: 'DK',
            model: 'gemma3:27b',
            translation: 'ollama',
            totalProfiles: 2
        },
        {
            _id: '1234567890qwertyuiopqwer',
            name: 'English',
            nativeName: 'English',
            country: 'GB',
            model: 'gemma3:27b',
            translation: 'nllb',
            totalProfiles: 1
        }
    ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/flexcare/dialog/languages/list.txt · Last modified: 2025/07/14 10:03 by Mikkel Frederiksen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki