Splits code into chunks based on its structure, leveraging Abstract Syntax Trees (ASTs) to create contextually relevant segments.
Your API Key from the Chonkie Cloud dashboard
Successful Response: A list of CodeChunk
objects.
A list containing CodeChunk
objects, each detailing a segment of the original code and optionally the corresponding AST nodes.