POST
/
v1
/
tools
/
context-aware-splitting
cURL
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>"
  ]
}
Deprecation notice: The context-aware text splitting API endpoint at /v1/tools/context-aware-splitting is deprecated and will be removed on November 18, 2025.This endpoint will no longer be available after the removal date. Please plan to migrate any integrations that currently use this endpoint to alternative solutions.

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.