Skip to main content
POST
/
text
/
rewrite
Rewrite
curl --request POST \
  --url https://backend.overtenai.com/api/v1/text/rewrite \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "prompt": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json
text
string
required
Required string length: 1 - 20000
prompt
string
required

Instruction for the rewrite (e.g. 'make it more formal').

Required string length: 1 - 2000

Response

Successful Response