Chunk
Split HTML Content into Chunks
This endpoint receives a single html string and splits it into chunks based on the headings and body content. The headings are split based on heading html tags. chunk_html has a maximum size of 256Kb.
POST
/
api
/
chunk
/
split
Body
application/json
chunk_html
string
requiredThe HTML content to be split into chunks
body_remove_strings
string[] | null
Text strings to remove from body when creating chunks for each page
heading_remove_strings
string[] | null
Text strings to remove from headings when creating chunks for each page
Response
200 - application/json
chunks
object[]
required