Language AI
cURL
curl --request GET \ --url https://eu.phrase.com/smt/api/v1/fileTranslations/{uid} \ --header 'Authorization: Bearer <token>'
{ "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" ], "callbackUrl": "<string>", "mtSettings": { "usePhraseMTSettings": true, "profile": { "uid": "CFUki8ptanoz1WAIYoXSH4" } }, "transMemoriesConfig": [ { "targetLang": { "code": "cs" }, "transMemories": [ { "transMemory": { "uid": "<string>" }, "tmSourceLocale": { "code": "cs" }, "tmTargetLocale": { "code": "cs" } } ] } ] } }
Allows the fetching of metadata from the processing file. The completed file can be downloaded using the File download endpoint.
Provide Authorization header with token obtained through Login operation.
Authorization
UID of the operation. See File translations endpoint.
Returns metadata of previously created translation request by requests unique identifier.
UID of the operation. UID can be used to query the result.
"random-uid"
1
Show child attributes
Was this page helpful?