/v2/projects/{projectId}/suggest/machine-translationsGet machine translation suggestions
Requests machine translation suggestions for a project using enabled translation services. Supply targetLanguageId and either keyId or baseText as applicable; use services to choose providers, or omit it to use all enabled services. The response includes service results and indicates whether the base translation was blank.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Request for machine translation suggestions for a target language, with optional key or source text and service selection.
A 400 is returned when the request is invalid; a 401 when authentication is missing or invalid; a 403 when the authenticated user lacks permission; and a 404 when the project or requested resource is not found. targetLanguageId is required, and each services value must be one of GOOGLE, AWS, DEEPL, AZURE, BAIDU, or PROMPT. The projectId path parameter must identify an existing project.