Get for run lineage
GET /api/v1/lineage/for-run/{runId}: request fields and declared response contract.
GET/api/v1/lineage/for-run/{runId}
| Permission | dataPipelines.read |
|---|---|
| Workspace scope | required |
| Scope target | workspace |
Parameters
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| runId | string | required | non-null | — |
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| direction | "ancestors" | "descendants" | "both" | optional | non-null | — |
| depth | integer | optional | non-null | — |
| limit | integer | optional | non-null | — |
| cursor | string | optional | non-null | — |
Response
200
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
| data | object | required | non-null | — |
| data.nodes | array | required | non-null | — |
| data.edges | array | required | non-null | — |
| data.truncated | boolean | required | non-null | — |
| data.redactions | integer | required | non-null | — |
| data.unsupportedKinds | array | required | non-null | — |
| data.warnings | array | required | non-null | — |
| data.resolverFailures | integer | optional | non-null | — |
| data.nextCursor | string | optional | non-null | — |
Declared failures
| LINEAGE_READ_FAILED | 500 — not retryable |
|---|
Readback
This method returns the current state it read.
- lineage.getForRun
Request example
Schematic only. Replace placeholders with real values and include all required nested fields.
GET /api/v1/lineage/for-run/{runId} HTTP/1.1
Authorization: Bearer <token>
x-merulan-workspace-id: <workspace-id>