---
title: "Data-flow navigation one hop downstream from a lineage record"
method: GET
path: "/lineage/{lid}/downstream"
tags: ["lineage"]
---

# Data-flow navigation one hop downstream from a lineage record

`GET /lineage/{lid}/downstream`

Returns records produced / consumed by `{lid}`. Supports optional `type` filter. WorkflowRun is not a node in data-flow navigation — use /search?q=workflow:{lid} instead.

## Path parameters

- `lid` string, required

## Query parameters

- `workspaceId` integer, required
- `type` string

## Response `200`

OK

- SearchResult
  - `nextPageToken` string
  - `records` LineageRecordResponse[]
    - `data` object
    - `displayData` DisplayData
      - `processName` string
      - `runName` string
      - `taskHash` string
      - `workflowId` string
      - `workspaceId` integer
    - `lid` string
    - `recordUri` string
    - `type` string

## Other responses

- `400` — Unsupported combination of starting LID type and `type` filter

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
