Unify and manage your data

Get hierarchy paths for an object

Learn more about how to use the Get hierarchy path API to return all paths from an object to each root in a hierarchy instance.

Use the Get Hierarchy Path View to retrieve all available paths from an object to each root in a hierarchy instance. Use this API when an object can be reached through multiple parent branches. The response returns one path for each available branch. For example, if object F belongs to a hierarchy where it is connected through A > B > F, D > B > F, and E > C > F, the response returns all three root paths. This helps you identify every available route from the selected object to a root, which is especially useful in multiparent hierarchies.

This operation requires the MDM.Data.Hierarchy permission with the READ privilege.

HTTP method and endpoint

Use the following HTTP method and endpoint path to submit the request:

GET https://<environment>.reltio.com/reltio/api/{tenantId}/hierarchies/{instanceId}/objects/{entityId}/pathView

Request headers

The following request headers must be included.

HeaderValueRequired
AuthorizationBearer <token>Yes

Query parameters

The following table describes the query parameters and their values.

ParameterTypeRequiredDescriptionAccepted values / Default
dateStringNoReturns the hierarchy state for a specific date. Use ISO 8601 date format.Example: 2025-10-10. Default: today

Request body

This operation does not require a request body.

Example request

Use the following example to see how a complete request is structured with headers.

GET /{instanceId}/objects/{entityId}/pathView?date=2025-10-10
Authorization: Bearer <token>

Response fields

The following table describes the fields returned in the response body.

FieldTypeDescription
entityIdStringThe entity ID of the object.
entityTypeStringThe entity type of the object.
labelStringThe label value of the object.
hasMoreChildrenBooleanIndicates whether the object has more children than are returned in the children field.
hasManyParentsBooleanOptional. Indicates whether the object has multiple parents. Default: false.
cyclicBooleanOptional. Indicates whether the object creates a cycle with any lower level in the hierarchy. Default: false.
selectedBooleanOptional. Indicates whether this is the object specified in the request. Default: false.
connectionIdStringThe connection ID between the object and its parent. For the root object, this value is null.
childrenArray of objectsThe list of child nodes. Each child repeats the same response structure recursively.

Example response

The following example shows the response body.

[
  {
    "entityId": "idRoot1",
    "entityType": "configuration/entityTypes/HCP",
    "label": "Root1",
    "hasMoreChildren": false,
    "children": [...]
  },
  {
    "entityId": "idRoot2",
    "entityType": "configuration/entityTypes/HCP",
    "label": "Root2",
    "hasMoreChildren": false,
    "children": [...]
  },
  {
    "entityId": "idRoot3",
    "entityType": "configuration/entityTypes/HCP",
    "label": "Root3",
    "hasMoreChildren": false,
    "children": [...]
  }
]