Query / logistics
provenanceTrace
Cross-layer lineage subgraph (nodes + edges) around a provenance entity, over the structural composite (operational + fulfillment + provenance). Requires provenance:read permission.
Arguments
entityIdID!TypeID of the seed entity (e.g. "ord_01K…"); its prefix names the entity kind.
maxDepthIntMaximum traversal depth. Defaults to 5.
directionStringTraversal direction: "downstream", "upstream", or "both". Defaults to "both".
Returns GraphTrace!
Explore in a view
View exact SDL
"""
Cross-layer lineage subgraph (nodes + edges) around a provenance entity, over the structural composite (operational + fulfillment + provenance). Requires provenance:read permission.
"""
provenanceTrace(
"""
TypeID of the seed entity (e.g. "ord_01K…"); its prefix names the entity kind.
"""
entityId: ID!
"""Maximum traversal depth. Defaults to 5."""
maxDepth: Int
"""
Traversal direction: "downstream", "upstream", or "both". Defaults to "both".
"""
direction: String
): GraphTrace! @topic(names: ["logistics"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.