---
updatedAt: 2026-04-06T16:33:24.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Get adjacent nodes for an entity

Returns entities connected to the specified entity via non-deleted relationships. Incoming relationships are included only when reversibleReads is true. Field IDs in the response are normalized to the queried entity's perspective (sourceFieldId = field on the queried entity, targetFieldId = field on the adjacent entity).

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "AdjacentNode": {
        "description": "An entity adjacent to the queried entity, with its connecting relationships",
        "properties": {
          "relationships": {
            "description": "Relationships connecting the queried entity to this adjacent entity",
            "items": {
              "$ref": "#/components/schemas/AdjacentNodeRelationship"
            },
            "minItems": 1,
            "type": "array"
          },
          "targetEntityId": {
            "description": "ID of the adjacent entity",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "targetEntityId",
          "relationships"
        ],
        "type": "object"
      },
      "AdjacentNodeFieldMapping": {
        "description": "A field-to-field mapping within a relationship",
        "properties": {
          "sourceFieldId": {
            "description": "Field ID on the queried entity",
            "format": "uuid",
            "type": "string"
          },
          "targetFieldId": {
            "description": "Field ID on the adjacent entity",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "sourceFieldId",
          "targetFieldId"
        ],
        "type": "object"
      },
      "AdjacentNodeRelationship": {
        "description": "A single relationship (link) between the queried entity and an adjacent entity",
        "properties": {
          "linkId": {
            "description": "Unique identifier of the relationship",
            "format": "uuid",
            "type": "string"
          },
          "linkRelationship": {
            "description": "Field-to-field mappings that define how the entities are joined",
            "items": {
              "$ref": "#/components/schemas/AdjacentNodeFieldMapping"
            },
            "type": "array"
          }
        },
        "required": [
          "linkId",
          "linkRelationship"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Data Catalog",
    "version": "0.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/data-catalog/entity/{entityId}/adjacent": {
      "get": {
        "description": "Returns entities connected to the specified entity via non-deleted relationships. Incoming relationships are included only when reversibleReads is true. Field IDs in the response are normalized to the queried entity's perspective (sourceFieldId = field on the queried entity, targetFieldId = field on the adjacent entity).",
        "operationId": "getAdjacentNodesV2",
        "parameters": [
          {
            "description": "Unique identifier of the entity",
            "in": "path",
            "name": "entityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AdjacentNode"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Successful operation"
          },
          "404": {
            "description": "Entity not found"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get adjacent nodes for an entity",
        "tags": [
          "Entity"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ],
  "tags": [
    {
      "description": "v2 Entity Endpoints",
      "name": "Entity"
    }
  ]
}
```