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

Body

application/json
prompt
string
required
Required string length: 1 - 5000
file_name
string | null

Optional hint for the downstream model about what document this section is for.

Response

Successful Response