Skip to main content
GET
/
v1
/
fileTranslations
/
{uid}
File processing metadata
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"
            }
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Provide Authorization header with token obtained through Login operation.

Path Parameters

uid
string
required

UID of the operation. See File translations endpoint.

Response

Returns metadata of previously created translation request by requests unique identifier.

uid
string
required

UID of the operation. UID can be used to query the result.

Example:

"random-uid"

actions
object[]
required
Minimum array length: 1
metadata
object
required