Skip to content

Browse node children

Start from the script setup block, then add the snippet code below.

List direct children of a node. Start from ORGANIZATION_ID to walk the tree.

# ... script setup ...
def browse_children(node_id: str) -> dict:
return api_get(f"/v1/nodes/{node_id}/browse")
result = browse_children(ORGANIZATION_ID)
print(json.dumps(result, indent=2))