SDK reference · Python SDK
prov.attest.claims.links
prov.attest.claims.links in Python SDK.
Signature
prov.attest.claims.links(claim_id: str) -> AnyParameters
claim_idstrRequired
Request fields
idstringpathRequired- The claim, or case in another vertical, the asset belongs to.
Returns
Any The claim's links to other claims, strongest first.
HTTP operation
GET /v1/attest/claims/{id}/links: Get linked claims
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-RING-B/links`, {
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-SANDBOX-RING-B/links", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()