POST
/
v1
/
chunk
/
neural
curl --request POST \
  --url https://api.chonkie.ai/v1/chunk/neural \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form model=mirth/chonky_modernbert_large_1 \
  --form min_characters_per_chunk=10 \
  --form return_type=chunks
[
  {
    "text": "<string>",
    "start_index": 123,
    "end_index": 123,
    "token_count": 123,
    "context": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Your API Key from the Chonkie Cloud dashboard

Body

multipart/form-data

Response

200 - application/json
Successful Response: A list of `Chunk` objects.

A list containing Chunk objects, representing segments split based on semantic shifts detected by the neural model.