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

> get_events: Get all recorded events.

# get\_events

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ObservabilityHooks**](../classes/ObservabilityHooks) class in the [**observability**](../modules/observability) module.

Get all recorded events.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_events() -> List[ObservabilityEvent]
```

### Returns

<ResponseField name="Returns" type="List[ObservabilityEvent]">
  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/escalation/observability.py#L255">
  `praisonaiagents/escalation/observability.py` at line 255
</Card>
