SDK reference · Node SDK
prov.attest.cases
prov.attest.cases in the Node SDK: 5 methods. The attest.cases methods.
Methods
list
prov.attest.cases.list(params?: ListCasesParams): Promise<ListResponse<CaseSummary>>The triage queue, cases with live overall risk, filterable + sortable.
Calls GET /v1/attest/cases.
get
prov.attest.cases.get(claimId: string): Promise<CaseDetail>One case with its full append-only event history (lazily created).
Calls GET /v1/attest/cases/{claim_id}.
assign
prov.attest.cases.assign(claimId: string, assigneeAccountId: string): Promise<CaseSummary>Assign the case (self-assign in v1).
Calls POST /v1/attest/cases/{claim_id}/assign.
transition
prov.attest.cases.transition(claimId: string, params: { toStatus: CaseStatus; reasonCode?: CaseReasonCode; note?: string }): Promise<CaseSummary>Move the case along the workflow graph.
Calls POST /v1/attest/cases/{claim_id}/transition.
addNote
prov.attest.cases.addNote(claimId: string, note: string): Promise<{ eventId: string; caseId: string; note: string; createdAt: string }>Append a free-text note to the case history.
Calls POST /v1/attest/cases/{claim_id}/notes.