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

# get\_events

Method

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

Get all collected events.

## Signature

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

### Returns

**Returns** `List[ActionEvent]`

The result of the operation.

## Source

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


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