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

Method

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

Get all items, optionally filtered by scope.

## Signature

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

### Returns

**Returns** `SearchResult`

SearchResult with all matching items

## Used By

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

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/knowledge/protocols.py#L102)
>
> `praisonaiagents/knowledge/protocols.py` at line 102


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