Hi! I'm trying to confirm that OpenAPI doesn't hav...
# getting-started
r
Hi! I'm trying to confirm that OpenAPI doesn't have a way to query the downstream lineage of a given URN. I see the
upstreamLineage
schema, but I'm assuming thats for setting the upstream lineage of a given URN. Am I missing anything here about how to query downstream lineage?
l
@orange-night-91387 ^
o
This is correct, GraphQL does though:
Copy code
... on Dataset {
          name
          relationships(input: {
            direction: INCOMING
            types: ["DownstreamOf"]
          }) {
            relationships {
              entity {
              	... on Dataset {
                  name
                }
              }
            }
          }
The downstream connection only occurs through the Metadata Graph, we derive all downstream relationships based on the indicated upstreams by reversing that relationship in the graph store.
The OpenAPI endpoints don't currently interact with the graph for GETs
r
ok! Thats great to know! Thank you 😄