Knowledge Graph 25.3
Knowledge Graph Reference

# 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 2025 Open Text
Version 25.3 | Last updated July 2025

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: Knowledge Discovery Knowledge Graph 25.3

Topic Title: GetNeighbors