Chunking

Token Chunk

Token chunking endpoint.

Chunks text based on token count using the specified tokenizer.

post/v1/chunk/token

Headers

authorizationstring nullable

Request body

ocrstring

OCR provider (mistral or gemini)

tokenizerstring

Tokenizer to use

chunk_sizeinteger

Size of each chunk

chunk_overlapinteger

Overlap between chunks

Response

Successful Response

{"stackTrail":"paths:/v1/chunk/token:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.