SDK reference · Node SDK

prov.attest.claims.explanation

prov.attest.claims.explanation in Node SDK. Plain-English, template-based explanation of a claim's signals.

Signature

prov.attest.claims.explanation(claimId: string): Promise<ClaimExplanation>

Parameters

claimIdstringRequired

Request fields

idstringpathRequired
The claim, or case in another vertical, the asset belongs to.

Returns

Promise<ClaimExplanation> The explanation, with its template version.

HTTP operation

GET /v1/attest/claims/{id}/explanation: Explain a claim

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/explanation`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.