Update chunk metadata and/or move the chunk.
The provided metadata is shallow-merged into the existing chunk_metadata. Move params (parent_path_part_id, prev_sibling_path_id, move_to_head) allow reparenting or reordering the chunk within the same document version.
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 update chunk metadata and/or move the chunk.
Metadata to merge into existing chunk_metadata (optional)
Reparent to this PathPart ID (must be DOCUMENT_VERSION or SECTION in the same document version)
Move after this sibling PathPart ID (within new or current parent)
Set to true to move to head of sibling list
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)