Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

List memories changedapi/beta/memory_stores/memories/list

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+23added
Lines−22removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits21to this page, all time

# List memories ## Path parameters ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List memories ### Path Parameters ### Query Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: List memories
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/memories/list
4---
1# List memories
52 
6## List memories
3**GET** `/v1/memory_stores/{memory_store_id}/memories`
74 
8**get** `/v1/memory_stores/{memory_store_id}/memories`
9 
105List memories
116 
12### Path Parameters
7## Path parameters
138 
149- `memory_store_id: string`
1510 
16### Query Parameters
11## Query parameters
1712 
1813- `depth: optional number`
1914 
2015 `0` (or omitted) returns all descendants below `path_prefix` (recursive). `1` returns immediate children only; deeper entries roll up as `memory_prefix` items. `depth=1` behaves like `ls`; omitting `depth` behaves like `find`.
2116 
17 format: int32
18 
2219- `limit: optional number`
2320 
2421 Maximum number of items to return per page. Must be between 1 and 100. Defaults to 20 when omitted. Capped at 20 when `view=full`. Both `memory` and `memory_prefix` items count toward the limit.
2522 
23 format: int32
24 
2625- `page: optional string`
2726 
2827 Opaque pagination cursor (a `page_...` value). Pass the `next_page` value from a previous response to fetch the next page; omit for the first page.
from line 38
3938 
4039 - `"full"`
4140 
42### Header Parameters
41## Headers
4342 
4443- `"anthropic-beta": optional array of AnthropicBeta`
4544 
from line 116
117116 
118117 - `"mid-conversation-tool-changes-2026-07-01"`
119118 
120### Returns
119## Returns
121120 
122121- `data: optional array of BetaManagedAgentsMemoryListItem`
123122 
124123 One page of results. Each item is either a `memory` object or, when `depth` was set, a `memory_prefix` rollup marker. Items are returned in a stable, server-defined order.
125124 
126 - `BetaManagedAgentsMemory object { id, content_sha256, content_size_bytes, 7 more }`
125 - `BetaManagedAgentsMemory object`
127126 
128127 A `memory` object: a single text document at a hierarchical path inside a memory store. The `content` field is populated when `view=full` and `null` when `view=basic`; the `content_size_bytes` and `content_sha256` fields are always populated so sync clients can diff without fetching content. Memories are addressed by their `mem_...` ID; the path is the create key and can be changed via update.
129128 
from line 138
139138 
140139 Size of `content` in bytes (the UTF-8 plaintext length). Always populated, regardless of `view`.
141140 
141 format: int32
142 
142143 - `created_at: string`
143144 
144145 A timestamp in RFC 3339 format
145146 
147 format: date-time
148 
146149 - `memory_store_id: string`
147150 
148151 ID of the memory store this memory belongs to (a `memstore_...` value).
from line 160
157160 
158161 - `type: "memory"`
159162 
160 - `"memory"`
161 
162163 - `updated_at: string`
163164 
164165 A timestamp in RFC 3339 format
165166 
167 format: date-time
168 
166169 - `content: optional string or null`
167170 
168171 The memory's UTF-8 text content. Populated when `view=full`; `null` when `view=basic`. Maximum 100 kB (102,400 bytes).
169172 
170 - `BetaManagedAgentsMemoryPrefix object { path, type }`
173 - `BetaManagedAgentsMemoryPrefix object`
171174 
172175 A rolled-up directory marker returned by [List memories](/docs/en/api/beta/memory_stores/memories/list) when `depth` is set. Indicates that one or more memories exist deeper than the requested depth under this prefix. This is a list-time rollup, not a stored resource; it has no ID and no lifecycle. Each prefix counts toward the page `limit` and interleaves with `memory` items in path order.
173176 
from line 180
177180 
178181 - `type: "memory_prefix"`
179182 
180 - `"memory_prefix"`
181 
182183- `next_page: optional string or null`
183184 
184185 Opaque cursor for the next page (a `page_...` value), or `null` if there are no more results. Pass as `page` on the next request.
185186 
186### Example
187## Example
187188 
188```http
189```bash
189190curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID/memories \
190191 -H 'anthropic-version: 2023-06-01' \
191192 -H 'anthropic-beta: agent-memory-2026-07-22' \
from line 193
192193 -H "X-Api-Key: $ANTHROPIC_API_KEY"
193194```
194195 
195#### Response
196### Response (200)
196197 
197198```json
198199{
Feedback