---
title: "Slumber Chunker"
method: POST
path: "/v1/chunk/slumber"
---

# Slumber Chunker

`POST /v1/chunk/slumber`

Agentic chunking powered by generative models (via Genie interface) for intelligent text splitting.

## Response `200`

Successful Response: A list of `Chunk` objects.

- Chunk[] — A list containing `Chunk` objects, representing segments intelligently split by the agentic chunker.
  - `text` string — The actual text content of the chunk.
  - `start_index` integer — The starting character index of the chunk within the original input text.
  - `end_index` integer — The ending character index (exclusive) of the chunk within the original input text.
  - `token_count` integer — The number of tokens in this specific chunk, according to the tokenizer used.
  - `context` string, nullable — Chunk context.

## Changes

- **2025-05-04** `33dc37e4abcd` — 1 info
  - added the optional property `items/context` to the response with the `200` status
- **2025-04-29** `b550668ac756` — 1 warning
  - removed the request property `verbose`
- **2025-04-29** `e12d0b1f23dc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/feyninc/apis/chonkie-api/changes/v1/chunk/slumber/post.md)

---

[API](https://skmtc.dev/feyninc/apis/chonkie-api.md) · [All operations](https://skmtc.dev/feyninc/apis/chonkie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/feyninc/chonkie-api/revisions/8a6665f478db/schema)
