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

> get_all: Get all items

# get\_all

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

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

Get all items

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def get_all(
        &self,
        user_id: Option<&str>,
        agent_id: Option<&str>,
        limit: usize,
    ) -> Result<SearchResult>
```

## Parameters

<ParamField query="user_id" type="Option<&str>" required={true}>
  No description available.
</ParamField>

<ParamField query="agent_id" type="Option<&str>" required={true}>
  No description available.
</ParamField>

<ParamField query="limit" type="usize" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Result<SearchResult>">
  The result of the operation.
</ResponseField>
