Lineage
APIs related to resource lineage
📄️ Get lineage graph for a resource
Returns the lineage graph for a resource as LineageGraph (array of nodes with Input/Output edges). For a job, call with resource=jobs (path /jobs/{id}/lineageV2). Also supports datasets (/datasets/{id}/lineageV2) and datasources (/datasources/{id}/lineageV2). Caller must have access to the root resource (else AUTH-1011). Connected nodes include AccessType; inaccessible neighbors set AccessRestricted and strip Metadata / LatestRunInfo / EventTime. Job and datasource nodes may include LatestRunInfo. Safe to retry (read-only).
📄️ List lineage events for a resource
Lists lineage event groups for a resource, sorted by EventTime descending (newest first). For a job, call with resource=jobs (path /jobs/{id}/lineageV2/events). Also supports datasets (/datasets/{id}/lineageV2/events) and datasources (/datasources/{id}/lineageV2/events). Caller must have access to the root resource (else AUTH-1011). Events with the same timestamp are merged; attach/detach targets appear under ResourcesAttached / ResourcesDetached.