Interface: TranslateRequest
@kortexya/reasoninglayer / TranslateRequest
Interface: TranslateRequest
Section titled “Interface: TranslateRequest”Defined in: src/types/translation.ts:12
Body of POST /api/v1/translate — translate text into a target language.
Properties
Section titled “Properties”sourceLang?
Section titled “sourceLang?”
optionalsourceLang?:string|null
Defined in: src/types/translation.ts:14
Optional source-language hint; auto-detected when absent.
targetLang
Section titled “targetLang”targetLang:
string
Defined in: src/types/translation.ts:16
Target language (BCP-47-ish tag or plain name, e.g. "en", "french").
text:
string
Defined in: src/types/translation.ts:18
The text to translate. Markdown structure (speaker labels, timestamps) is preserved.