---
title: "English translation tool."
method: POST
path: "/v1/knowledge-models/{knowledge_model_id}/tools/translation"
---

# English translation tool.

`POST /v1/knowledge-models/{knowledge_model_id}/tools/translation`

Translate a list of English texts into the selected language.

## Path parameters

- `knowledge_model_id` string, required

## Request body

- TranslationRequest
  - `source_texts` string[], required — List of English texts.
  - `target_language` string, required — The language into which the texts need to be translated.

## Response `200`

Successful Response

- TranslationResponseSchema
  - `translations` string[], required — The translated phrases

## Other responses

- `401` — User token is not present in cookies or has incorrect value.
- `421` — Various errors, see examples
- `422` — Validation Error

---

[API](https://skmtc.dev/constructor-tech/apis/constructorknowledgemodel.md) · [All operations](https://skmtc.dev/constructor-tech/apis/constructorknowledgemodel/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/constructor-tech/constructorknowledgemodel/revisions/989f1fae00de/schema)
