documents
Get all nodes for a document
Returns a flat list of all nodes in the document tree.
get/v1/documents/{id}/nodes
Request
- Base URLhttps://your-reasondb-host
- Auth
- API key in header X-Api-Key
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
}
]Changes
No recorded changes to this operation across all 7 revisions of this API.