Create a new chunk with content.
The chunk is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). Content is deduplicated by SHA256 hash.
Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request to create a new chunk.
Parent PathPart ID (must be DOCUMENT_VERSION or SECTION)
Chunk text content
1Type of chunk content (TEXT, TABLE, IMAGE, HTML, UNKNOWN)
TEXT, TABLE, IMAGE, HTML, UNKNOWN Chunk metadata as JSON (title, description, etc.)
PathPart ID to insert after (null = append to tail)
Successful Response
Chunk response model.
Chunk ID
PathPart ID
ChunkContent ID
Chunk text content
Type of chunk content
TEXT, TABLE, IMAGE, HTML, UNKNOWN Chunk metadata
Parent PathPart ID
Full materialized path from root
Whether this chunk is system-managed
Tenant ID
Creation timestamp
Last update timestamp
Number of tokens in chunk content
Previous sibling PathPart ID
Next sibling PathPart ID
Presigned URLs to download the chunk's visual assets (6-hour validity)
Ancestor document info (populated when with_document=true)
Ancestor document version info (populated when with_document=true)