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

# with_approval

> Present a granted approval to the calls made inside the block (SPEC-v0.1 §4.3).

`ctrlrun.with_approval` — function, defined at `src/ctrlrun/control.py:163`

```python theme={null}
from ctrlrun import with_approval
```

```python theme={null}
def with_approval(request_id: str) -> Iterator[None]
```

Present a granted approval to the calls made inside the block (SPEC-v0.1 §4.3).

The approval still has to match: it authorizes the exact action a human saw, once, and
only until it expires. Presenting it is an offer, not a decision.

## Next

* [Python API index](/reference/api/index).
* [Get started](/get-started/quickstart) · [Why](/why).


## Related topics

- [Frequently asked questions](/faq.md)
- [InterruptApprovalProvider](/reference/api/InterruptApprovalProvider.md)
- [Roadmap](/ROADMAP.md)
- [Claims](/CLAIMS.md)
- [ApprovalRequired](/reference/api/ApprovalRequired.md)
