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 headding html tags. chunk_html has a maximum size of 256Kb.
POST
/
api
/
chunk
/
split
Body
application/json
body_remove_strings
string[] | null
Text strings to remove from body when creating chunks for each page
chunk_html
string
requiredThe HTML content to be split into chunks
heading_remove_strings
string[] | null
Text strings to remove from headings when creating chunks for each page
Response
200 - application/json
chunks
object[]
required