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

# action_hash

> Return the action hash used to bind approvals to an exact action (SPEC-v0.1 §2.3).

`ctrlrun.action_hash` — function, defined at `src/ctrlrun/action.py:327`

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

```python theme={null}
def action_hash(action: Action) -> str
```

Return the action hash used to bind approvals to an exact action (SPEC-v0.1 §2.3).

## Next

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


## Related topics

- [Action](/docs/reference/api/Action.md)
- [Approval](/docs/reference/api/Approval.md)
- [LangGraph with interrupt()](/docs/cookbook/langgraph-interrupt.md)
- [Threat model](/docs/THREAT_MODEL.md)
- [Receipt and event schemas](/docs/reference/receipt-and-event-schemas.md)
