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

> list: List all sessions

# list

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

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

List all sessions

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def list(&self, limit: usize) -> Result<Vec<SessionInfo>>
```

## Parameters

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

### Returns

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