---
title: "List Memory"
method: GET
path: "/v1/memory"
tags: ["memory management"]
---

# List Memory

`GET /v1/memory`

List memory entries visible to the caller.

## Query parameters

- `key` string, nullable — Filter by exact key match.
- `key_prefix` string, nullable — Filter by key prefix (Redis-style namespace scan). Mutually exclusive with `key`; if both are provided, `key_prefix` wins.
- `search` string, nullable — Match entries whose key starts with this value or whose memory_id equals it. Takes precedence over `key_prefix` and `key` when provided.
- `page` integer
- `page_size` integer

## Response `200`

Successful Response

- MemoryListResponse
  - `memories` LiteLLMMemoryRow[], required
    - `memory_id` string, required
    - `key` string, required
    - `value` string, required
    - `metadata` unknown
    - `user_id` string, nullable
    - `team_id` string, nullable
    - `created_at` string, date-time, nullable
    - `created_by` string, nullable
    - `updated_at` string, date-time, nullable
    - `updated_by` string, nullable
  - `total` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 3 info
  - added the new optional `query` request parameter `search`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/memory/get.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/b694deb1e459?raw)
