AI

AI Translate Strings

Required scopes: ai.translate (Read and Write).

post/ai/translate

Request

Request body

OR

Example request

{
  "strings": [
    "Some text to translate!"
  ],
  "sourceLanguageId": "en",
  "targetLanguageId": "uk",
  "tmIds": [
    123
  ],
  "glossaryIds": [
    456
  ],
  "styleGuideIds": [
    654
  ],
  "instructions": [
    "Keep a formal tone"
  ],
  "attachmentIds": [
    123
  ],
  "aiPromptId": 789
}

Response

Strings translated successfully

Example response

{
  "data": {
    "sourceLanguageId": "en",
    "targetLanguageId": "uk",
    "translations": [
      "Перекладений текст 1",
      "Перекладений текст 2"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.