Vana SDK - v4.1.0
    Preparing search index...

    Function getGatewayLineage

    • Read a data point's lineage from the gateway.

      Parameters

      Returns Promise<LineageReadResult>

      The lineage view, with redacted entries for nodes the caller's grant does not cover, plus the gateway attestation.

      Sends GET /v1/data/:dataPointId/lineage[/:version] with a Web3Signed Authorization header: aud = the gateway origin, uri = gatewayLineagePath (lowercase id, version segment included), empty-body bodyHash, and the lowercased grantId claim when given. The gateway answers a uniform 404 for an unknown data point and for a signer it will not serve, so the two cannot be told apart from outside.

      On a malformed dataPointId or version, a non-2xx answer (400 malformed request, 401 LINEAGE_SIGNATURE_REQUIRED / LINEAGE_SIGNATURE_INVALID, 404 unknown or not served), an unreadable body, or a transport failure.