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
Bearer authentication header of the form Bearer <token>
, where <token>
is your Writer API key.
Body
application/json
The text to split into chunks.
The strategy to use for splitting the text into chunks. llm_split
uses the language model to split the text, fast_split
uses a fast heuristic-based approach, and hybrid_split
combines both strategies.
Available options:
llm_split
, fast_split
, hybrid_split
Response
200 - application/json
An array of text chunks generated by splitting the input text based on the specified strategy.
Minimum length:
1