v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBFile translations
File translations
Creates a new file translations request based on multipart/form-data. The translation state can be fetched utilizing a returned UID in the response and a Metadata endpoint. It is also possible to download the translated file using the Get file endpoint once the translation is complete (action.status == OK).
post/v1/fileTranslations
Response
Response with UID of the file translations request.
Example response
{
"uid": "random-uid",
"actions": [
{
"actionType": "MT_GENERIC_PRETRANSLATE",
"results": [
{
"id": "random-uid",
"sourceLang": "en",
"targetLang": "cs",
"status": "OK"
}
]
}
],
"metadata": {
"sourceLang": {
"code": "cs"
},
"targetLangs": [
{
"code": "cs"
}
],
"actionTypes": [
"MT_GENERIC_PRETRANSLATE"
],
"mtSettings": {
"usePhraseMTSettings": true,
"profile": {
"uid": "CFUki8ptanoz1WAIYoXSH4"
}
},
"transMemoriesConfig": [
{
"targetLang": {
"code": "cs"
},
"transMemories": [
{
"tmSourceLocale": {
"code": "cs"
},
"tmTargetLocale": {
"code": "cs"
}
}
]
}
]
}
}