v1

latestOpenAPI 3.0.3MIT OR Apache-2.02026-07-17203670.3 KB
documents

Get document as tree structure

Returns the complete hierarchical tree structure with nested children. Useful for visualizing or navigating the document structure.

get/v1/documents/{id}/tree

Path parameters

idstring required
Example:doc_abc123

Document ID

Response

Document tree

idstring
titlestring
summarystring

LLM-generated summary

depthinteger

Depth in the tree (0 = root)

is_leafboolean