POST
/
v1
/
tools
/
context-aware-splitting
curl --location --request POST https://api.writer.com/v1/tools/context-aware-splitting \
 --header "Authorization: Bearer <token>" \
 --header "Content-Type: application/json" \
--data-raw '{"text":"text to split","strategy":"llm_split"}'
{
  "chunks": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Body

application/json

Response

200 - application/json

The response is of type object.