> ## Documentation Index
> Fetch the complete documentation index at: https://docs.parmanasystems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class: VerificationApi

Defined in: [typescript/src/client/VerificationApi.ts:11](https://github.com/pavancharak/AgentLabsBuildathon/blob/main/typescript/src/client/VerificationApi.ts#L11)

## Constructors

### Constructor

> **new VerificationApi**(`transport`): `VerificationApi`

Defined in: [typescript/src/client/VerificationApi.ts:12](https://github.com/pavancharak/AgentLabsBuildathon/blob/main/typescript/src/client/VerificationApi.ts#L12)

#### Parameters

##### transport

[`Transport`](/sdks/reference/typescript/interfaces/Transport)

#### Returns

`VerificationApi`

## Methods

### verify()

> **verify**(`businessTransactionId`): `Promise`\<[`Verification`](/sdks/reference/typescript/interfaces/Verification)>

Defined in: [typescript/src/client/VerificationApi.ts:21](https://github.com/pavancharak/AgentLabsBuildathon/blob/main/typescript/src/client/VerificationApi.ts#L21)

Runs a fresh verification of an Execution Trust Record. Maps to
POST /verify. Each call re-verifies the record and appends a new
Verification to its history, distinct from getLatest() (GET
/verification/:id), which reads the most recent one without
re-verifying.

#### Parameters

##### businessTransactionId

`string`

#### Returns

`Promise`\<[`Verification`](/sdks/reference/typescript/interfaces/Verification)>

***

### getLatest()

> **getLatest**(`businessTransactionId`): `Promise`\<[`Verification`](/sdks/reference/typescript/interfaces/Verification)>

Defined in: [typescript/src/client/VerificationApi.ts:39](https://github.com/pavancharak/AgentLabsBuildathon/blob/main/typescript/src/client/VerificationApi.ts#L39)

Returns the latest Verification for a
Business Transaction, without performing a
fresh verification. Maps to GET
/verification/:id.

#### Parameters

##### businessTransactionId

`string`

#### Returns

`Promise`\<[`Verification`](/sdks/reference/typescript/interfaces/Verification)>
