Skip to main content
POST
Generate translations (Multilang)

Authorizations

Authorization
string
header
required

API token from your organization settings

Body

application/json
sourceValues
object[]
required

Array of objects keyed by language code. Each item may have one or more source languages (e.g. en-US, fr-FR); not all items need all languages. The AI receives whatever source(s) are present per item to translate into the target language(s).

targetLanguages
string[]
required

Language codes to translate into (e.g. ["es-ES", "it-IT"])

Example:
useOrgDescription
boolean
default:true

Use organization description for context

useGlossary
boolean
default:true

Use organization glossary for consistent terminology

useSimilarity
boolean
default:true

Use similarity matching for better translations

useCustomInstructions
boolean
default:true

Use custom translation instructions

instructionsSource
string
default:github

Source of custom instructions

instructionsBundle
string
default:""

Bundle name for instructions

instructionsRepository
string
default:""

Repository name for instructions

additionalInstructions
string
default:""

Additional custom instructions

Response

Consolidated translations: array of objects, each object = input item plus target-language keys

{key}
string