Open topic with navigation

# GetNeighbors

List the neighbors of one or more specified nodes.

## Example

    http://12.3.4.56:9000/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. |

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HP Autonomy Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm