SDK reference · Python SDK

prov.attest.claims.export

prov.attest.claims.export in Python SDK.

Signature

prov.attest.claims.export(claim_id: str) -> Any

Parameters

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();

Was this page helpful? Send us feedback

LLM? Read llms.txt.