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

# Request Approval • AI Agent SDK

> request_approval: Async wrapper — runs the sync prompt in an executor.

# request\_approval

AsyncMethod

> This is a method of the [**ConsoleBackend**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/ConsoleBackend.md) class in the [**backends**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/backends.md) module.

Async wrapper — runs the sync prompt in an executor.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def request_approval(request: ApprovalRequest) -> ApprovalDecision
```

## Parameters

**request** `ApprovalRequest` *required*

No description available.

### Returns

**Returns** `ApprovalDecision`

The result of the operation.

## Uses

* `asyncio.get_running_loop`
* `loop.run_in_executor`

## Used By

* [`AgentApproval.request_approval_sync`](../functions/AgentApproval-request_approval_sync)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/approval/backends.py#L319)
>
> `praisonaiagents/approval/backends.py` at line 319


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.