---
title: "Recursive Chunk"
method: POST
path: "/v1/chunk/recursive"
tags: ["Chunking"]
---

# Recursive Chunk

`POST /v1/chunk/recursive`

Recursive chunking endpoint with table support.

Recursively chunks text using structural separators (markdown, tables, etc.).
Uses MarkdownChef and TableChunker for proper table handling.

## Headers

- `authorization` string, nullable

## Request body

- RecursiveChunkerRequest — Request model for recursive chunking.
  - `text` union — Text or list of texts to chunk
    - string
    - string[]
  - `file` FileReference — File reference for chunking with OCR.
    - `type` string, required — File type: 'document' or 'base64;extension'
    - `content` string, required — Filename (for document) or base64 data
  - `ocr` string — OCR provider (mistral or gemini)
  - `tokenizer` string — Tokenizer to use
  - `chunk_size` integer — Size of each chunk
  - `recipe` string — Chunking recipe to use
  - `lang` string — Language code
  - `min_characters_per_chunk` integer — Minimum characters per chunk

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chonkie/apis/chonkie-api.md) · [All operations](https://skmtc.dev/chonkie/apis/chonkie-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chonkie/apis/chonkie-api/revisions/f40f036f941c?raw)
