> ## 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.

# Get Approval Callback • AI Agent SDK

> get_approval_callback: Get the current approval callback function (legacy API).

# get\_approval\_callback

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**approval**](../modules/approval) module.

Get the current approval callback function (legacy API).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_approval_callback() -> Optional[Callable]
```

### Returns

<ResponseField name="Returns" type="Optional[Callable]">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/approval/__init__.py#L96">
  `praisonaiagents/approval/__init__.py` at line 96
</Card>
