---
schema_version: "1"
id: 54fdd7a2f2938041bd4ae791780a74683bfbf93aad5fff9e3da1c645225e312c
title: Flexible Hierarchy Snapshot Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 45f08b5f5e784c64ed9e7006289125a43bd9f8ba90084d5aacb8ed0398f9a790
description: Output representation of the captured structure of a flexible hierarchy snapshot, lazily loaded one context node at a time.
---
# Flexible Hierarchy Snapshot Response

Output representation of the captured structure of a flexible hierarchy snapshot, lazily loaded one context node at a time.

## JSON Example

{
  "contextNode": {
    "id": "0HNxx0000004N02EAM",
    "predecessorNodeId": "0HNxx0000004N01EAM",
    "referenceRecordId": "001xx000003GZ40AAG",
    "referenceRecordType": "Account",
    "referenceRecordTypeLabel": "Account",
    "role": "Region",
    "totalChildrenCount": 4,
    "displayValues": \[
      {
        "fieldName": "Name",
        "fieldLabel": "Account Name",
        "fieldType": "String",
        "fieldValue": "EMEA Region",
        "isLookup": false,
        "isNameField": true
      }
    \],
    "summaryValues": \[\]
  },
  "ancestorNodes": \[
    {
      "id": "0HNxx0000004N01EAM",
      "referenceRecordId": "001xx000003GZ39AAG",
      "referenceRecordType": "Account",
      "referenceRecordTypeLabel": "Account",
      "role": "Root",
      "totalChildrenCount": 2,
      "displayValues": \[\],
      "summaryValues": \[\]
    }
  \],
  "ancestorRelations": \[
    {
      "id": "0HRxx0000004R01EAM",
      "predecessorNodeId": "0HNxx0000004N01EAM",
      "successorNodeId": "0HNxx0000004N02EAM",
      "displayValues": \[\]
    }
  \],
  "childNodes": \[
    {
      "id": "0HNxx0000004N03EAM",
      "predecessorNodeId": "0HNxx0000004N02EAM",
      "referenceRecordId": "001xx000003GZ41AAG",
      "referenceRecordType": "Account",
      "referenceRecordTypeLabel": "Account",
      "role": "Country",
      "totalChildrenCount": 0,
      "displayValues": \[\],
      "summaryValues": \[\]
    }
  \],
  "childRelations": \[
    {
      "id": "0HRxx0000004R02EAM",
      "predecessorNodeId": "0HNxx0000004N02EAM",
      "successorNodeId": "0HNxx0000004N03EAM",
      "displayValues": \[\]
    }
  \],
  "pathToRoot": \[
    "0HNxx0000004N02EAM",
    "0HNxx0000004N01EAM"
  \],
  "pagination": {
    "hasNext": false,
    "offset": 0,
    "pageSize": 1000,
    "totalChildNodes": 4
  },
  "hierarchyConfiguration": {
    "id": "0RGDxx0000004GD1EAM",
    "relationshipGraphDefinitionVersion": "1",
    "entityDisplayFields": \[
      {
        "entityName": "Account",
        "entityLabel": "Account",
        "graphViewFields": \[
          "Name"
        \],
        "gridViewFields": \[
          "Name"
        \]
      }
    \],
    "relationshipList": \[
      {
        "parentNodeEntityApiName": "Account",
        "childNodeEntityApiName": "Account"
      }
    \],
    "summaryRollupList": \[\]
  },
  "snapshotMetadata": {
    "hierarchyId": "0H1xx0000004FH1EAM",
    "capturedAt": "2026-07-20T08:27:26.000Z",
    "locale": "en\_US",
    "navigationPolicy": "Standard",
    "schemaVersion": 1,
    "totalNodes": 16,
    "totalRelationshipCount": 15,
    "captureContext": {
      "accessModel": "reResolveInUserContext",
      "runAsIntegrationUser": false
    }
  },
  "responseStatus": {
    "statusCode": 200,
    "message": "Snapshot retrieved."
  }
}

## Properties

| Property Name | Type | Description | Filter Group and Version | Available Version |
| --- | --- | --- | --- | --- |
| ancestorNodes | [Flexible Hierarchy Snapshot Node Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_node.htm "Output representation of the captured node in a flexible hierarchy snapshot, including frozen field values and rollup metrics.")\[\] | Context node's ancestor nodes, ordered from the immediate parent up to the root. | Big, 68.0 | 68.0 |
| ancestorRelations | [Flexible Hierarchy Snapshot Relationship Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_edge.htm "Parent-child connection captured in a flexible hierarchy snapshot.")\[\] | Parent-child connections along the ancestor chain. | Big, 68.0 | 68.0 |
| childNodes | [Flexible Hierarchy Snapshot Node Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_node.htm "Output representation of the captured node in a flexible hierarchy snapshot, including frozen field values and rollup metrics.")\[\] | Paginated list of the context node's direct children. | Big, 68.0 | 68.0 |
| childRelations | [Flexible Hierarchy Snapshot Relationship Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_edge.htm "Parent-child connection captured in a flexible hierarchy snapshot.")\[\] | Parent-child connections from the context node to the returned child nodes. | Big, 68.0 | 68.0 |
| contextNode | [Flexible Hierarchy Snapshot Node Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_node.htm "Output representation of the captured node in a flexible hierarchy snapshot, including frozen field values and rollup metrics.") | Node that's specified in the request. This is the node identified by nodeId, or the snapshot's root node when nodeId isn't specified. | Big, 68.0 | 68.0 |
| hierarchyConfiguration | [Flexible Hierarchy Snapshot Hierarchy Configuration Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_hierarchy_configuration.htm "Details of the hierarchy configuration captured in a snapshot, including entity display fields, allowed relationships, and rollup definitions.") | Frozen configuration for the snapshot, including entity display fields, relationships, and rollup definitions. | Big, 68.0 | 68.0 |
| pagination | [Flexible Hierarchy Pagination Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_paginated_output.htm "Pagination details for a page of child nodes in a flexible hierarchy response.") | Pagination details for the childNodes array. | Big, 68.0 | 68.0 |
| pathToRoot | String\[\] | Node IDs from the context node up to the root, inclusive, ordered with the context node first. | Big, 68.0 | 68.0 |
| responseStatus | [Flexible Hierarchy Status](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_status.htm "Output representation to display the status of the Flexible Hierarchy API request.") | HTTP status code and message for the API request. | Big, 68.0 | 68.0 |
| snapshotMetadata | [Flexible Hierarchy Snapshot Metadata Details](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_snapshot_metadata.htm "Metadata for a flexible hierarchy snapshot, including when it was captured, how many nodes it contains, and how it was captured.") | Metadata about the snapshot, including capture time, schema version, and provenance. | Big, 68.0 | 68.0 |