v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Chunking

Parse text

Split large text documents into smaller, manageable chunks using different chunking strategies optimized for RAG (Retrieval-Augmented Generation) workflows. This endpoint supports multiple chunking algorithms including token-based, sentence-based, recursive, semantic, and specialized strategies.

post/v2/chunking

Request body

OR
OR
OR
OR
OR

Example request

{
  "model": "openai/gpt-4.1"
}

Response

Text successfully chunked