---
title: "GET /lineage/{guid}/next/"
method: GET
path: "/lineage/{guid}/next/"
tags: ["Lineage"]
---

# GET /lineage/{guid}/next/

`GET /lineage/{guid}/next/`

Return immediate next page lineage info about entity with pagination

## Path parameters

- `guid` string, required

## Query parameters

- `direction` 'BOTH' | 'INPUT' | 'OUTPUT', required
- `getDerivedLineage` boolean
- `offset` integer
- `limit` integer
- `api-version` string, required

## Response `200`

OK. If the input is valid.

- AtlasLineageInfo — The lineage information.
  - `baseEntityGuid` string — The GUID of the base entity.
  - `guidEntityMap` object — The GUID entity map.
  - `widthCounts` object — The entity count in specific direction.
  - `lineageDepth` integer — The depth of lineage.
  - `lineageWidth` integer — The width of lineage.
  - `includeParent` boolean — True to return the parent of the base entity.
  - `childrenCount` integer — The number of children node.
  - `lineageDirection` 'INPUT' | 'OUTPUT' | 'BOTH' — The enum of lineage direction.
  - `parentRelations` ParentRelation[] — An array of parentRelations relations.
    - `childEntityId` string — The GUID of child entity.
    - `relationshipId` string — The GUID of relationship.
    - `parentEntityId` string — The GUID of parent entity.
  - `relations` LineageRelation[] — An array of lineage relations.
    - `fromEntityId` string — The GUID of from-entity.
    - `relationshipId` string — The GUID of relationship.
    - `toEntityId` string — The GUID of to-entity.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/purview-catalog.md) · [All operations](https://skmtc.net/azure/apis/purview-catalog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-catalog/versions/63dd676f9a6b/schema)
