---
title: "GET /lineage/{guid}/next"
method: GET
path: "/lineage/{guid}/next"
---

# 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

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

## Response `200`

The request has succeeded.

- 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.
  - `childrenCount` integer — The number of children node.
  - `lineageDirection` 'INPUT' | 'OUTPUT' | 'BOTH' — 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` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/purview-datamap.md) · [All operations](https://skmtc.net/azure/apis/purview-datamap/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-datamap/revisions/442226cb14a9/schema)
