SDK reference · Node SDK

prov.attest.cases.get

prov.attest.cases.get in Node SDK. One case with its full append-only event history (lazily created).

Signature

prov.attest.cases.get(claimId: string): Promise<CaseDetail>

Parameters

claimIdstringRequired

Request fields

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

Returns

Promise<CaseDetail> The case and its history.

HTTP operation

GET /v1/attest/cases/{claim_id}: Retrieve a case

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.