Skip to main content
POST

Overview

Traverses the upstream dependency graph of the supplied record. Each node includes relationship metadata so you can follow the chain of derivations to a configurable depth.

Parameters

chain_id
number
required
Target EVM network.
tracing_id
string
required
Anchor record whose parents should be returned, provided as a hex string (no 0x prefix).

Traversal Controls

max_depth
number
default:"1"
Number of hops to follow. 1 returns direct parents, 2 includes grandparents, etc. Requests exceeding the configured maximum are truncated with a truncation_reason.
include_record
boolean
default:"false"
When true, each returned node is hydrated with its full record (the same payload the record endpoint returns). Only the nodes on the returned page are hydrated. Leave false to keep traversal responses small.

Pagination Controls

limit
number
default:"250"
Recommended default 250; maximum 1000 to stay under ~10 MB responses.
cursor
string
Opaque pagination cursor returned from a prior call.

Response Fields

Meta

meta
object
Echo of request metadata applied to the response.
meta.chain_id
number
EVM chain ID echoed from the request.
meta.tracing_id
string
Tracing identifier for the record whose parents are returned.

Data

data
object[]
Each element represents a parent node that matches the requested depth and relationship filters.
data.dataset
string
Dataset namespace for the parent record.
data._tracing_id
string
Lineage identifier for the parent record (hex string, no 0x prefix). Feed this back into other lineage endpoints to continue traversal.
data.child_tracing_id
string
Tracing identifier of the record one hop closer to the queried record that this node is a direct parent of. For depth: 1 nodes this equals meta.tracing_id. Combine with relationship to rebuild the lineage tree edge by edge (this node is the <relationship> of child_tracing_id).
data.relationship
string
How this node relates to its child_tracing_id (e.g., source_log, pool_metadata, dependency).
data.depth
number
Hop count from the original record (1 for direct parents).
data.record
object
Full row for the node, in the same shape as the record endpoint’s data.record. Present only when the request sets include_record: true; omitted otherwise.

Envelope Fields

cursor
string | null
Pagination cursor for fetching additional parents.
page_count
number
Number of parent nodes returned in data.
truncation_reason
string | null
Non-null when the server stopped traversal due to max depth, fan-out limits, or other safety guards.

Next Steps

Last modified on July 2, 2026