Knowledge Graph 12.13

# 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 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Knowledge Graph 12.13

Topic Title: GetNeighbors