List translations
GET /translations/
Ce point d’accès, publiquement accessible, retourne une liste paginée de toutes les paires de traduction disponibles dans le système.
Il est possible de filtrer les résultats et de naviguer à travers les pages en utilisant des paramètres dans l’URL.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Filtre par langue source en utilisant son code ISO 639-1 (ex: “en”).
Example
frFiltre par langue de destination en utilisant son code ISO 639-1 (ex: “fr”).
The number of items to skip from the beginning of the result set. This is used for pagination, often referred to as the ‘offset’.
The maximum number of items to return in the response. This is used to control the page size.
Example
100Responses
Section titled “ Responses ”Successful response (inferred from assertions)
object
Represents an available translation capability from a specific source language to a target language.
object
The unique numeric identifier for this specific translation path (e.g., English to French).
Example
5The name of the underlying machine translation model used for this language pair.
Example
nllb-200-distilled-600MIndicates whether this translation path is available for use. An inactive translation (false) cannot be requested when creating a live session.
Example
trueThe additional amount of Video RAM (in Megabytes) required to load this translation model. This is added to the VRAM of the base transcription model.
Example
850The source language that can be translated from.
object
The unique numeric identifier for the language. This is the internal primary key.
Example
10The standard two-letter ISO 639-1 code for the language. This is the primary field you should use when specifying a language for a new transcription session.
Example
enThe full, human-readable name of the language in English.
Example
EnglishIndicates whether the language is currently available for transcription. An inactive language (false) cannot be selected when creating a new live session.
Example
trueThe target language that the source can be translated into.
object
The unique numeric identifier for the language. This is the internal primary key.
Example
10The standard two-letter ISO 639-1 code for the language. This is the primary field you should use when specifying a language for a new transcription session.
Example
enThe full, human-readable name of the language in English.
Example
EnglishIndicates whether the language is currently available for transcription. An inactive language (false) cannot be selected when creating a new live session.
Example
trueobject
The total number of items available in the entire dataset that match the query, across all pages.
The total number of pages calculated from total_items and per_page. A client can use this to build page navigation UI.
The page number for the current set of items being returned. This is typically controlled by skip and limit or page and size query parameters.
The maximum number of items configured to be returned on a single page. This is typically controlled by a limit query parameter.
Example
{ "data": [ { "model": "opus-mt-en-fr", "active": false, "vram": 800, "id": 1, "lang_from": { "iso_639_1": "en", "name": "English", "id": 1, "active": true }, "lang_to": { "iso_639_1": "fr", "name": "French", "id": 2, "active": true } }, { "model": "opus-mt-en-de", "active": false, "vram": 800, "id": 2, "lang_from": { "iso_639_1": "en", "name": "English", "id": 1, "active": true }, "lang_to": { "iso_639_1": "de", "name": "German", "id": 3, "active": true } } ], "pagination": { "total_items": 2, "total_pages": 1, "current_page": 1, "per_page": 100 }}