# prov.mandate.assessments

prov.mandate.assessments in the Node SDK: 6 methods. `provenance.mandate.assessments`: the agent builder's runtime check of an intent token (`POST /v1/mandate/assessments`: the policy decision and its ledger row, what `gate` relies on), and the ledger read back (`/v1/mandate/assessments`).

## Methods

### [create](https://provenanceauth.com/docs/sdks/node/mandate-assessments/create.md)

```ts
prov.mandate.assessments.create(params: VerifyIntentParams, opts?: IntentCallOptions): Promise<MandateAssessment>
```

Calls `POST /v1/mandate/assessments`.

### [createWithApproval](https://provenanceauth.com/docs/sdks/node/mandate-assessments/create-with-approval.md)

```ts
prov.mandate.assessments.createWithApproval(params: VerifyIntentParams, opts?: { pollMs?: number; timeoutMs?: number } & IntentCallOptions): Promise<MandateAssessment>
```

Verify, and if the action needs out-of-band step-up approval (`reason: "approval_pending"`), poll until the human approves, the request is denied/expired, or `timeoutMs` elapses.

### [list](https://provenanceauth.com/docs/sdks/node/mandate-assessments/list.md)

```ts
prov.mandate.assessments.list(params?: ListDecisionsParams, opts?: { raw?: boolean }): Promise<ListResponse<DecisionRecord> | Record<string, unknown>>
```

Calls `GET /v1/mandate/assessments`.

### [get](https://provenanceauth.com/docs/sdks/node/mandate-assessments/get.md)

```ts
prov.mandate.assessments.get(id: string, opts?: { raw?: boolean }): Promise<DecisionRecord | Record<string, unknown>>
```

Calls `GET /v1/mandate/assessments/{id}`.

### [verifyChain](https://provenanceauth.com/docs/sdks/node/mandate-assessments/verify-chain.md)

```ts
prov.mandate.assessments.verifyChain(range?: { createdGte?: string; createdLte?: string }): Promise<DecisionChainVerification>
```

Recompute the hash chain over a range; reports the first break, if any.

Calls `GET /v1/mandate/assessments/verify_chain`.

### [receipt](https://provenanceauth.com/docs/sdks/node/mandate-assessments/receipt.md)

```ts
prov.mandate.assessments.receipt(id: string): Promise<Receipt<DecisionReceipt>>
```

A signed, portable receipt for a decision, verifiable offline against the JWKS (also on the console's Verify a proof page).

Calls `GET /v1/mandate/assessments/{id}/receipt`.
