---
title: "List Memories"
method: GET
path: "/memories"
tags: ["Memory"]
---

# List Memories

`GET /memories`

Retrieve paginated list of user memories with filtering and search capabilities. Filter by user, agent, team, topics, or search within memory content.

## Query parameters

- `user_id` string, nullable — Filter memories by user ID
- `agent_id` string, nullable — Filter memories by agent ID
- `team_id` string, nullable — Filter memories by team ID
- `search_content` string, nullable — Fuzzy search within memory content
- `limit` integer, nullable — Number of memories to return per page
- `page` integer, nullable — Page number for pagination
- `sort_by` string, nullable — Field to sort memories by
- `sort_order` 'asc' | 'desc'
- `db_id` string, nullable — Database ID to query memories from
- `table` string, nullable — The database table to use
- `topics` string[], nullable — Comma-separated list of topics to filter by

## Response `200`

Memories retrieved successfully

- PaginatedResponseUserMemorySchema
  - `data` UserMemorySchema[], required — List of items for the current page
    - `memory_id` string, required — Unique identifier for the memory
    - `memory` string, required — Memory content text
    - `topics` string[], nullable — Topics or tags associated with the memory
    - `agent_id` string, nullable — Agent ID associated with this memory
    - `team_id` string, nullable — Team ID associated with this memory
    - `user_id` string, nullable — User ID who owns this memory
    - `updated_at` string, date-time, nullable — Timestamp when memory was last updated
  - `meta` PaginationInfo, required
    - `page` integer — Current page number (0-indexed)
    - `limit` integer — Number of items per page
    - `total_pages` integer — Total number of pages
    - `total_count` integer — Total count of items
    - `search_time_ms` number — Search execution time in milliseconds

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/revisions/5f6149d395d0/schema)
