API Reference
Code Chunker
Splits code into chunks based on its structure, leveraging Abstract Syntax Trees (ASTs) to create contextually relevant segments.
POST
Authorizations
Your API Key from the Chonkie Cloud dashboard
Body
multipart/form-data
Response
200 - application/json
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.