---
title: "Get record lineage events"
method: GET
path: "/import/lineage/{collectionName}/{recordId}"
tags: ["Import"]
---

# Get record lineage events

`GET /import/lineage/{collectionName}/{recordId}`

Gets paginated lineage events for a specific record in chronological order.
The recordId is a URL-safe SHA256 hash generated from composite key parts.

## Path parameters

- `collectionName` string, required
- `recordId` string, required

## Query parameters

- `skip` integer
- `top` integer

## Response `200`

Paginated lineage events

- PaginatedLineageEvents
  - `collectionName` string
  - `recordId` string
  - `skip` integer
  - `top` integer
  - `count` integer
  - `totalEvents` integer
  - `events` object[]

## Other responses

- `400` — Invalid parameters
- `404` — Record lineage not found
- `499` — Client closed request

---

[API](https://skmtc.dev/defra/apis/keeper-data-bridge-api.md) · [All operations](https://skmtc.dev/defra/apis/keeper-data-bridge-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/defra/keeper-data-bridge-api/revisions/0ab7d7a7a24f/schema)
