CF derivation graph
Walks `parentCfId`, so it covers AMENDS and VALIDATION chains.
v1/cfs/{cf_id}/lineagePath Parameters
cf_idRequiredstring
The contribution fingerprint's 32-byte id, spelled cf_id — the
snake_case form the /v1/cfs/* routes use. The nested
/v1/datasets/{id}/cf/{cfId}/* routes spell the same value cfId. Both
are load-bearing in their own URLs and cannot be unified without breaking
callers.
"^0[xX][0-9a-fA-F]{64}$"Query Parameters
depthinteger
How many hops to walk. Default 2, hard cap 5. Unlike limit, exceeding
the cap is a 400, not a clamp.
2Minimum: 0Maximum: 5directionstring
Which way to walk: up toward ancestors, down toward descendants, or
both. Empty is treated as both; any other value is a 400.
"both"Value in: "up" | "down" | "both"nodeLimitinteger
Cap on nodes returned, bounding payload size independently of depth.
Default 50, hard cap 100; exceeding the cap is a 400, not a clamp.
When the walk is cut short the response sets truncated: true.
50Minimum: 1Maximum: 100curl -X GET "http://lineage-api.alodium-staging.svc.cluster.local:8001/v1/cfs/9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU/lineage?depth=2&direction=up&nodeLimit=50"The graph.
{
"rootCfId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"nodes": [
{
"cfId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"frontierId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"kind": 0,
"contributorDidId": "00000000-0000-0000-0000-0000000007d1",
"parentCfId": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"verdict": 0,
"qualityGrade": 0
}
],
"edges": [
{
"from": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"to": "9eYZhBADw4gk5LBemDUTSYNLwGLb9gvqKKTV1WvUq3LU",
"type": "derived_from"
}
],
"truncated": true
}Last updated