Skip to main content

Get machine translation suggestions (streaming)

POST 

/v2/projects/:projectId/suggest/machine-translations-streaming

Suggests machine translations from enabled services. The results are streamed to the output in ndjson format. If an error occurs when for any service provider used, the error information is returned as a part of the result item, while the response has 200 status code.

Request

Path Parameters

    projectId int64required

Body

required
    keyId int64

    Key Id to get results for. Use when key is stored already.

    targetLanguageId int64required
    baseText string

    Text value of base translation. Useful, when base translation is not stored yet.

    isPlural boolean

    Whether base text is plural. This value is ignored if baseText is null.

    services string[]

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    List of services to use. If null, then all enabled services are used.

    plural boolean

Responses

OK

Schema

    object

Loading...