# prov.mandate.assessments.verifyChain

prov.mandate.assessments.verifyChain in Node SDK. Recompute the hash chain over a range; reports the first break, if any.

## Signature

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

## Parameters

- `range` ({ createdGte?: string; createdLte?: string }, optional)

## Returns

`Promise<DecisionChainVerification>`

## HTTP operation

[`GET /v1/mandate/assessments/verify_chain`](https://provenanceauth.com/docs/api/decisions.md#get-v1-mandate-assessments-verify-chain): Verify the decision chain

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/assessments/verify_chain`, {
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/assessments/verify_chain", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```
