The whole hunk
from line 13, old and new numbered
/
lines
from line 13
1313
1414- `memory_store_id: string`
1515
16 The ID of the memory store whose version history to list (`memstore_...`).
17
1618## Query parameters
1719
1820- `api_key_id: optional string`
1921
20 Query parameter for api_key_id
22 Return only versions written with the API key that has this ID.
2123
2224- `"created_at[gte]": optional string`
2325
from line 35
3335
3436- `limit: optional number`
3537
36 Query parameter for limit
38 The maximum number of versions to return per page. Defaults to 20.
3739
3840 format: int32
3941
4042- `memory_id: optional string`
4143
42 Query parameter for memory_id
44 Return only versions of the memory with this ID (`mem_...`).
4345
46 The filter still works after the memory is deleted. The results then include the version whose `operation` is `deleted`.
47
4448- `operation: optional BetaManagedAgentsMemoryVersionOperation`
4549
46 Query parameter for operation
50 Return only versions that record this kind of change.
4751
4852 - `"created"`
4953
54 The memory was created. The first version in any memory's lineage.
55
5056 - `"modified"`
5157
58 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
59
5260 - `"deleted"`
5361
62 The memory was deleted. The `content`, `content_size_bytes`, and `content_sha256` fields are `null` on this version. The preceding version, while it is retained, records the deleted content's size and hash.
63
5464- `page: optional string`
5565
56 Query parameter for page
66 The `next_page` value from a previous response, to get the next page. Omit it to get the first page.
5767
5868- `service_account_id: optional string`
5969
60 Query parameter for service_account_id
70 Return only versions written by the service account with this ID (`svac_...`).
6171
6272- `session_id: optional string`
6373
64 Query parameter for session_id
74 Return only versions written by the session with this ID.
6575
6676- `view: optional BetaManagedAgentsMemoryView`
6777
68 Query parameter for view
78 Selects which projection of a `memory` or `memory_version` the server returns. `basic` returns the object with `content` set to `null`; `full` populates `content`. When omitted, the default is endpoint-specific: retrieve operations default to `full`; list, create, and update operations default to `basic`. Listing with `view=full` caps `limit` at 20.
6979
7080 - `"basic"`
7181
82 Return the object with `content` set to `null`. The `content_size_bytes` and `content_sha256` fields remain populated, so sync clients can diff without fetching content.
83
7284 - `"full"`
7385
86 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
87
7488## Headers
7589
7690- `"anthropic-beta": optional array of AnthropicBeta`
from line 189
175189
176190- `"anthropic-workspace-id": optional string`
177191
192 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
193
194 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
195
178196## Returns
179197
180198- `data: optional array of BetaManagedAgentsMemoryVersion`
from line 225
207225
208226 - `"created"`
209227
228 The memory was created. The first version in any memory's lineage.
229
210230 - `"modified"`
211231
232 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
233
212234 - `"deleted"`
235
236 The memory was deleted. The `content`, `content_size_bytes`, and `content_sha256` fields are `null` on this version. The preceding version, while it is retained, records the deleted content's size and hash.
213237
214238 - `content: optional string or null`
215239