documents
Get all nodes for a document
Returns a flat list of all nodes in the document tree.
get/v1/documents/{id}/nodes
Path parameters
idstring required
Example:doc_abc123
Document ID
Response
List of nodes
Example response
[
{
"id": "node_xyz789",
"title": "Chapter 3: Neural Networks",
"summary": "This chapter covers the fundamentals of neural networks...",
"depth": 1,
"children_count": 5
}
]