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

# List All • AI Agent SDK

> list_all: List all entries.

# list\_all

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

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

List all entries.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def list_all(limit: int) -> List[Dict[str, Any]]
```

## Parameters

<ParamField query="limit" type="int" required={false} default="100">
  Maximum entries to return
</ParamField>

### Returns

<ResponseField name="Returns" type="List[Dict[str, Any]]">
  List of all entries (most recent first)
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/memory/learn/protocols.py#L78">
  `praisonaiagents/memory/learn/protocols.py` at line 78
</Card>
