---
title: "POST /v3/{+parent}:refineText"
method: POST
path: "/v3/{+parent}:refineText"
tags: ["projects"]
---

# POST /v3/{+parent}:refineText

`POST /v3/{+parent}:refineText`

Refines the input translated text to improve the quality.

## Path parameters

- `parent` string, required

## Request body

- RefineTextRequest — Request message for RefineText.
  - `sourceLanguageCode` string — Required. The BCP-47 language code of the source text in the request, for example, "en-US".
  - `refinementEntries` RefinementEntry[] — Required. The source texts and original translations in the source and target languages.
    - `originalTranslation` string — Required. The original translation of the source text.
    - `sourceText` string — Required. The source text to be refined.
  - `targetLanguageCode` string — Required. The BCP-47 language code for translation output, for example, "zh-CN".

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/translate.md) · [All operations](https://skmtc.dev/google/apis/translate/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/translate/revisions/1597c11ae5de/schema)
