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

# Approval Decided • AI Agent SDK

> approval_decided: The decision for ``approval_id`` (parent_seq = the request).

# approval\_decided

Method

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

The decision for `approval_id` (parent\_seq = the request).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def approval_decided(approval_id: str, approved: bool, reason: Optional[str], approver: Optional[str], modified: bool, agent_name: Optional[str], node_id: Optional[str]) -> None
```

## Parameters

**approval\_id** `str` *required*

No description available.

**approved** `bool` *required*

No description available.

**reason** `Optional[str]`

No description available.

**approver** `Optional[str]`

No description available.

**modified** `bool` (default: False)

No description available.

**agent\_name** `Optional[str]`

No description available.

**node\_id** `Optional[str]`

No description available.

## Uses

* `ContextEvent`
* `time.time`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/trace/context_events.py#L1364)
>
> `praisonaiagents/trace/context_events.py` at line 1364


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