Update a section.
Can update name, page_number, and/or reorder within siblings. To move: provide prev_sibling_path_id OR move_to_head (not both). Moving is only allowed within the same document version.
Note: Section names can contain any characters. The corresponding path_part.name will be automatically normalized by a database trigger.
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 a section.
New section name (can contain any characters)
1 - 255New page number (must be > 0)
Move after this sibling PathPart ID
Set to true to move to head of sibling list. This is needed since prev_sibling_path_id = None means no update
Reparent to this PathPart ID (must be DOCUMENT_VERSION or SECTION in the same document version)
Successful Response
Section response model.
Section ID
PathPart ID
Section name
Parent PathPart ID
Full materialized path from root
Whether this section is system-managed
Tenant ID
Creation timestamp
Last update timestamp
Page number in source document
Previous sibling PathPart ID
Next sibling PathPart ID
System-managed metadata (statistics, etc.)