Skip to main content
GET
Get Chunk Neighbors Handler

Headers

authorization
string | null

Path Parameters

chunk_id
string<uuid>
required

Query Parameters

prev
integer
default:1

Number of preceding siblings to include

Required range: 0 <= x <= 20
next
integer
default:1

Number of succeeding siblings to include

Required range: 0 <= x <= 20
chunks_only
boolean
default:false

When true, stop traversal at non-CHUNK siblings (default: false)

Cookies

ks_uat
string | null

Response

Successful Response

Response for chunk neighbor traversal.

Returns items in the same SectionOrChunkItem discriminated union format used by the document version contents endpoint.

items
(SectionContentItem · object | ChunkContentItem · object)[]
required

Ordered siblings: preceding → anchor → succeeding

Response model for a section item in document version contents.

anchor_index
integer
required

Index of the anchor chunk in items