Knowledge Graph 24.3

# GetNeighbors

List the neighbors of one or more specified nodes.

## Example

    http://12.3.4.56:10300/action=GetNeighbors&TargetNames=grace%40example.com;jason%40example.com&MaxResults=12

This action returns up to 12 in-neighbors for each of the target nodes `grace@example.com` and `jason@example.com`. In-neighbors are source nodes that connect to the specified node.

## Parameters

Parameter | Description | Required
--- | --- | ---
MaxResults | The maximum number of neighbors to return for each specified node. |
Sort | The sorting method to use for the results. |
SourceIDs | The IDs of the source nodes that you want to return out-neighbors for. |
SourceNames | The names of the source nodes that you want to return out-neighbors for. |
TargetIDs | The IDs of target nodes for which you want to return in-neighbors. |
TargetNames | The names of the target nodes that you want to return in-neighbors for. |

Copyright 2024 Open Text
Version 24.3 | Last updated June 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Knowledge Graph 24.3

Topic Title: GetNeighbors