v1
latestOpenAPI 3.0.32026-07-265278189.1 KBCorrectText
Correct text
Fix spelling and grammar errors in one or more texts. Unlike /v2/write/rephrase, this endpoint applies a minimal-change correction pass and does not rewrite the text for style or tone.
post/v2/write/correct
Request body
Example request
{
"text": [
"this is a example sentence to imprve"
],
"target_lang": "de"
}Response
Successful text correction.
Example response
{
"improvements": [
{
"detected_source_language": "en",
"target_language": "en-US",
"text": "This is a sample sentence to improve."
}
]
}