List all sections and chunks for a document version in depth-first logical order.
Returns a discriminated union of SectionContentItem and ChunkContentItem,
distinguished by the part_type field (“SECTION” or “CHUNK”).
Use content_type to return only one type (e.g. content_type=CHUNK for
chunk-only pagination where offset/limit apply only to chunks).
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.
DocumentVersion ID
Optional section ID to scope traversal to a subtree
Filter by content type: SECTION or CHUNK. Omit to return both types.
SECTION, CHUNK Number of items per page
1 <= x <= 100Number of items to skip
x >= 0Successful Response
List of items
Response model for a section item in document version contents.
Total number of items
x >= 0Number of items per page
x >= 1Number of items to skip
x >= 0