# GetHyperCubeTreeData method

Retrieves data for nodes in a tree structure. It is possible to retrieve specific pages of data.

Information note

This method works for a treedata object or a hypercube in DATA\_MODE\_TREE.

Information note**STABLE.**  
This API is reliable and breaking changes are unlikely.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qPath | Path to the definition of the object to be selected. | Yes | String |
| qNodeOptions | Specifies all the paging filters needed to define the tree to be fetched. If left out the complete tree is returned. | No | [NxTreeDataOption](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxtreedataoption.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qNodes | Represents the nodes and dimensions of the defined tree. | Array of [NxTreeNode](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-nxtreenode.htm) |