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

> get_all: Get all items, optionally filtered by scope.

# get\_all

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

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

Get all items, optionally filtered by scope.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_all() -> SearchResult
```

### Returns

<ResponseField name="Returns" type="SearchResult">
  SearchResult with all matching items
</ResponseField>

## Used By

* [`Knowledge.get_all`](../functions/Knowledge-get_all)
* [`Mem0MemoryAdapter.get_all_memories`](../functions/Mem0MemoryAdapter-get_all_memories)

## Source

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