SDK reference · Python SDK
prov.attest.claims.export
prov.attest.claims.export in Python SDK.
Signature
prov.attest.claims.export(claim_id: str) -> AnyParameters
claim_idstrRequired
Request fields
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired- The claim, or case in another vertical, the asset belongs to.
Returns
Any The export, with its download link.
HTTP operation
POST /v1/attest/claims/{id}/export: Export a claim's evidence
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/export`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/export", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()