SDK reference · Python SDK

prov.attest.verifications.create

prov.attest.verifications.create in Python SDK.

Signature

prov.attest.verifications.create(screen: Optional[bool] = …, **body: Any = …) -> Any

Parameters

screenOptional[bool]
**bodyAny

Request fields

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
attestation_idstringRequired
The attestation's ID.

Returns

Any The verification result, with its risk factors.

HTTP operation

POST /v1/attest/verifications: Verify an attestation

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/verifications`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ "attestation_id": "att_00000000000000000000000000000001" }),
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.