> ## 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 Registry • AI Agent SDK

> get_approval_registry: Return the global singleton :class:`ApprovalRegistry`.

# get\_approval\_registry

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

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

Return the global singleton :class:`ApprovalRegistry`.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_approval_registry() -> ApprovalRegistry
```

### Returns

<ResponseField name="Returns" type="ApprovalRegistry">
  The result of the operation.
</ResponseField>

## Uses

* `ApprovalRegistry`

## Used By

* [`set_approval_callback`](../functions/set_approval_callback)
* [`mark_approved`](../functions/mark_approved)
* [`is_already_approved`](../functions/is_already_approved)
* [`is_yaml_approved`](../functions/is_yaml_approved)
* [`set_yaml_approved_tools`](../functions/set_yaml_approved_tools)

## Source

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