Translate using machine translation
Translates source texts using the job’s configured machine translation settings. The MT origin is determined from request headers. Requires job machine translation access; project-level machine translation access may also be checked.
Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Body
Source texts to translate
Base request body carrying the source texts to translate.
Source strings to translate, returned in the same order as the translations. Must contain at least one item.
1 - 2147483647 elementsResponse
OK
Response from an MT translation request, containing the translated strings.
Translated strings in the same order as the input sourceTexts.