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

200
application/json

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

The response is of type object.