v1

latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KB
File translations

Action result

Use the Accept header with either application/octet-stream to get the file or use application/json to get the quality estimation.

get/v1/fileTranslations/{uid}/{actionType}/{language}

Path parameters

uidstring required

UID of the operation. See File translations endpoint.

actionType'CONVERTER_IMPORT' | 'FILE_IMPORT' | 'MT_GENERIC_PRETRANSLATE' | 'QUALITY_ESTIMATION' required
Example:MT_GENERIC_PRETRANSLATE

File associated with the specified action type will be returned, if the action was completed.

languagestring required

Requested language of the file. Please note different actions have different languages available.

Headers

Acceptstring required

Media type which caller expects as a response.

Response

Action result has been successfully returned.

scorenumber double required

Example response

{
  "score": 0.42
}