Traverse the Knowledge Graph
get_relatedFind related knowledge-graph units by retrieving their incoming and outgoing relationships with types, enabling broader answers with adjacent content.
Instructions
Traverse the knowledge graph: given a unit, return its neighbours — the units it links to (outgoing) and the units that reference it (incoming), each with the relationship type. Use this after a get_* call to widen an answer with adjacent units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the unit to start from (or an HRN id when domain is 'handbook'). | |
| domain | Yes | ||
| locale | No | Language of the returned body. Default: en. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| incoming | Yes | ||
| outgoing | Yes |