interface · Browser and Node

# ApprovalRequestPayload

`@toip-tools/mandates` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/tasks.ts#L31)

Import:

```ts
import { type ApprovalRequestPayload } from "@toip-tools/mandates";
```

## Declaration

interface:

```ts
interface ApprovalRequestPayload {
  request: string;
  action: Action;
  actionHash: string;
  chain: Mandate[];
  decision: Decision;
  /** The delegate's words (a model's, for an agent). Show them as such. */
  justification?: string;
  expiresAt: string;
}
```

## Properties

**`request` (required)**

`string`

**`action` (required)**

`Action`

**`actionHash` (required)**

`string`

**`chain` (required)**

`Mandate[]`

**`decision` (required)**

`Decision`

**`justification` (optional)**

`string | undefined`

The delegate's words (a model's, for an agent). Show them as such.

**`expiresAt` (required)**

`string`

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/ApprovalRequestPayload/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
