> ## Documentation Index
> Fetch the complete documentation index at: https://studio.chat-atp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List memories

> List memories stored for an agent

<ParamField path="agent_id" type="integer" required>
  Agent ID.
</ParamField>

<ParamField query="agent_user_id" type="integer">
  Restrict to one agent user.
</ParamField>

## SDK

<CodeGroup>
  ```typescript TypeScript theme={null}
  const memories = await client.memories.list(7, { agent_user_id: 42 });
  ```

  ```python Python theme={null}
  memories = await client.memories.list(7, agent_user_id=42)
  ```
</CodeGroup>
