TranslationRequest

Property Reference

Field Name Required Type Description Format

annotationIds

✘

List of long

List of source annotations to translate.

int64

language

✘

String

The target language for translation.

redo

✘

Boolean

Run again, even if the workflow already ran in this context.

redoSingleTask

✘

Boolean

skipActiveWorkflowTest

✘

Boolean

sourceLanguage

✘

String

The source language for translation. Leave empty to use the language of the annotations themselves.

translationEngine

✘

String

The engine to use for translation. Omit to make an automatic smart choice based on the languages involved.

translationEngineFormality

✘

String

The formality parameter to use for translation when using DeepL. Either: 'less'

'more'

'default'

'prefer_less'

'prefer_more', defaults to 'default'

translationEngineModel

✘

String

The model to use for translation when using DeepL. Either: 'quality_optimized'

'latency_optimized'

'prefer_quality_optimized', defaults to 'prefer_quality_optimized'

waitForWorkflow

✘

Boolean

workflowLabel

✘

String