The whole hunk
from line 115, old and new numbered
/
lines
from line 115
115115
116116- `"anthropic-workspace-id": optional string`
117117
118 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
119
120 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.
121
118122### Body parameters
119123
120124- `name: string`
from line 347
343347
344348- `"anthropic-workspace-id": optional string`
345349
350 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
351
352 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.
353
346354### Returns
347355
348356- `data: optional array of BetaManagedAgentsMemoryStore`
from line 438
430438
431439- `memory_store_id: string`
432440
441 ID of the memory store to retrieve (a `memstore_...` identifier). Required. Enumerate IDs via `GET /v1/memory_stores`.
442
433443### Headers
434444
435445- `"anthropic-beta": optional array of AnthropicBeta`
from line 544
534544
535545- `"anthropic-workspace-id": optional string`
536546
547 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
548
549 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.
550
537551### Returns
538552
539553- `BetaManagedAgentsMemoryStore object`
from line 626
612626
613627- `memory_store_id: string`
614628
629 ID of the memory store to update (a `memstore_...` identifier). Required. Enumerate IDs via `GET /v1/memory_stores`. Updating an archived store returns 400.
630
615631### Headers
616632
617633- `"anthropic-beta": optional array of AnthropicBeta`
from line 732
716732
717733- `"anthropic-workspace-id": optional string`
718734
735 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
736
737 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.
738
719739### Body parameters
720740
721741- `description: optional string or null`
from line 834
814834
815835- `memory_store_id: string`
816836
837 ID of the memory store to permanently delete (a `memstore_...` identifier). Required. Deletion cascades to all memories and memory versions in the store and cannot be undone.
838
817839### Headers
818840
819841- `"anthropic-beta": optional array of AnthropicBeta`
from line 940
918940
919941- `"anthropic-workspace-id": optional string`
920942
943 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
944
945 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.
946
921947### Returns
922948
923949- `BetaManagedAgentsDeletedMemoryStore object`
from line 985
959985
960986- `memory_store_id: string`
961987
988 ID of the memory store to archive (a `memstore_...` identifier). Required. Archiving is one-way and idempotent; archived stores cannot be unarchived. Enumerate IDs via `GET /v1/memory_stores`.
989
962990### Headers
963991
964992- `"anthropic-beta": optional array of AnthropicBeta`
from line 1091
10631091
10641092- `"anthropic-workspace-id": optional string`
10651093
1094 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1095
1096 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.
1097
10661098### Returns
10671099
10681100- `BetaManagedAgentsMemoryStore object`
from line 1232
12001232
12011233- `memory_store_id: string`
12021234
1235 The ID of the memory store to create the memory in (`memstore_...`).
1236
12031237#### Query parameters
12041238
12051239- `view: optional BetaManagedAgentsMemoryView`
12061240
1207 Query parameter for view
1241 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.
12081242
12091243 - `"basic"`
12101244
1245 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.
1246
12111247 - `"full"`
12121248
1249 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
1250
12131251#### Headers
12141252
12151253- `"anthropic-beta": optional array of AnthropicBeta`
from line 1352
13141352
13151353- `"anthropic-workspace-id": optional string`
13161354
1355 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1356
1357 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.
1358
13171359#### Body parameters
13181360
13191361- `content: string or null`
from line 1459
14171459
14181460- `memory_store_id: string`
14191461
1462 The ID of the memory store to list memories from (`memstore_...`).
1463
14201464#### Query parameters
14211465
14221466- `depth: optional number`
from line 1489
14451489
14461490 - `"basic"`
14471491
1492 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.
1493
14481494 - `"full"`
14491495
1496 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
1497
14501498#### Headers
14511499
14521500- `"anthropic-beta": optional array of AnthropicBeta`
from line 1599
15511599
15521600- `"anthropic-workspace-id": optional string`
15531601
1602 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1603
1604 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.
1605
15541606#### Returns
15551607
15561608- `data: optional array of BetaManagedAgentsMemoryListItem`
from line 1712
16601712
16611713- `memory_store_id: string`
16621714
1715 The ID of the memory store that holds the memory (`memstore_...`).
1716
16631717- `memory_id: string`
16641718
1719 The ID of the memory to retrieve (`mem_...`).
1720
16651721#### Query parameters
16661722
16671723- `view: optional BetaManagedAgentsMemoryView`
16681724
1669 Query parameter for view
1725 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.
16701726
16711727 - `"basic"`
16721728
1729 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.
1730
16731731 - `"full"`
16741732
1733 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
1734
16751735#### Headers
16761736
16771737- `"anthropic-beta": optional array of AnthropicBeta`
from line 1836
17761836
17771837- `"anthropic-workspace-id": optional string`
17781838
1839 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1840
1841 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.
1842
17791843#### Returns
17801844
17811845- `BetaManagedAgentsMemory object`
from line 1926
18621926
18631927- `memory_store_id: string`
18641928
1929 The ID of the memory store that holds the memory (`memstore_...`).
1930
18651931- `memory_id: string`
18661932
1933 The ID of the memory to update (`mem_...`).
1934
18671935#### Query parameters
18681936
18691937- `view: optional BetaManagedAgentsMemoryView`
18701938
1871 Query parameter for view
1939 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.
18721940
18731941 - `"basic"`
18741942
1943 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.
1944
18751945 - `"full"`
18761946
1947 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
1948
18771949#### Headers
18781950
18791951- `"anthropic-beta": optional array of AnthropicBeta`
from line 2050
19782050
19792051- `"anthropic-workspace-id": optional string`
19802052
2053 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2054
2055 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.
2056
19812057#### Body parameters
19822058
19832059- `content: optional string or null`
from line 2164
20882164
20892165- `memory_store_id: string`
20902166
2167 The ID of the memory store that holds the memory (`memstore_...`).
2168
20912169- `memory_id: string`
20922170
2171 The ID of the memory to delete (`mem_...`).
2172
20932173#### Query parameters
20942174
20952175- `expected_content_sha256: optional string`
20962176
2097 Query parameter for expected_content_sha256
2177 Delete the memory only if its current `content_sha256` equals this value, given as 64 lowercase hexadecimal characters. Omit it to delete unconditionally.
20982178
2179 If the hashes differ, the request fails with HTTP status 409 and nothing is deleted.
2180
20992181#### Headers
21002182
21012183- `"anthropic-beta": optional array of AnthropicBeta`
from line 2282
22002282
22012283- `"anthropic-workspace-id": optional string`
22022284
2285 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2286
2287 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.
2288
22032289#### Returns
22042290
22052291- `BetaManagedAgentsDeletedMemory object`
from line 2329
22432329
22442330- `memory_store_id: string`
22452331
2332 The ID of the memory store whose version history to list (`memstore_...`).
2333
22462334#### Query parameters
22472335
22482336- `api_key_id: optional string`
22492337
2250 Query parameter for api_key_id
2338 Return only versions written with the API key that has this ID.
22512339
22522340- `"created_at[gte]": optional string`
22532341
from line 2351
22632351
22642352- `limit: optional number`
22652353
2266 Query parameter for limit
2354 The maximum number of versions to return per page. Defaults to 20.
22672355
22682356 format: int32
22692357
22702358- `memory_id: optional string`
22712359
2272 Query parameter for memory_id
2360 Return only versions of the memory with this ID (`mem_...`).
22732361
2362 The filter still works after the memory is deleted. The results then include the version whose `operation` is `deleted`.
2363
22742364- `operation: optional BetaManagedAgentsMemoryVersionOperation`
22752365
2276 Query parameter for operation
2366 Return only versions that record this kind of change.
22772367
22782368 - `"created"`
22792369
2370 The memory was created. The first version in any memory's lineage.
2371
22802372 - `"modified"`
22812373
2374 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
2375
22822376 - `"deleted"`
22832377
2378 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.
2379
22842380- `page: optional string`
22852381
2286 Query parameter for page
2382 The `next_page` value from a previous response, to get the next page. Omit it to get the first page.
22872383
22882384- `service_account_id: optional string`
22892385
2290 Query parameter for service_account_id
2386 Return only versions written by the service account with this ID (`svac_...`).
22912387
22922388- `session_id: optional string`
22932389
2294 Query parameter for session_id
2390 Return only versions written by the session with this ID.
22952391
22962392- `view: optional BetaManagedAgentsMemoryView`
22972393
2298 Query parameter for view
2394 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.
22992395
23002396 - `"basic"`
23012397
2398 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.
2399
23022400 - `"full"`
23032401
2402 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
2403
23042404#### Headers
23052405
23062406- `"anthropic-beta": optional array of AnthropicBeta`
from line 2505
24052505
24062506- `"anthropic-workspace-id": optional string`
24072507
2508 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2509
2510 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.
2511
24082512#### Returns
24092513
24102514- `data: optional array of BetaManagedAgentsMemoryVersion`
from line 2541
24372541
24382542 - `"created"`
24392543
2544 The memory was created. The first version in any memory's lineage.
2545
24402546 - `"modified"`
24412547
2548 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
2549
24422550 - `"deleted"`
24432551
2552 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.
2553
24442554 - `content: optional string or null`
24452555
24462556 The memory's UTF-8 text content as of this version. `null` when `view=basic`, when `operation` is `deleted`, or when `redacted_at` is set.
from line 2685
25752685
25762686- `memory_store_id: string`
25772687
2688 The ID of the memory store that holds the version (`memstore_...`).
2689
25782690- `memory_version_id: string`
25792691
2692 The ID of the memory version to retrieve (`memver_...`).
2693
25802694#### Query parameters
25812695
25822696- `view: optional BetaManagedAgentsMemoryView`
25832697
2584 Query parameter for view
2698 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.
25852699
25862700 - `"basic"`
25872701
2702 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.
2703
25882704 - `"full"`
25892705
2706 Return the object with `content` populated. On list endpoints, `view=full` caps `limit` at 20.
2707
25902708#### Headers
25912709
25922710- `"anthropic-beta": optional array of AnthropicBeta`
from line 2809
26912809
26922810- `"anthropic-workspace-id": optional string`
26932811
2812 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2813
2814 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.
2815
26942816#### Returns
26952817
26962818- `BetaManagedAgentsMemoryVersion object`
from line 2845
27232845
27242846 - `"created"`
27252847
2848 The memory was created. The first version in any memory's lineage.
2849
27262850 - `"modified"`
27272851
2852 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
2853
27282854 - `"deleted"`
27292855
2856 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.
2857
27302858 - `content: optional string or null`
27312859
27322860 The memory's UTF-8 text content as of this version. `null` when `view=basic`, when `operation` is `deleted`, or when `redacted_at` is set.
from line 2980
28522980
28532981- `memory_store_id: string`
28542982
2983 The ID of the memory store that holds the version (`memstore_...`).
2984
28552985- `memory_version_id: string`
28562986
2987 The ID of the memory version to redact (`memver_...`).
2988
28572989#### Headers
28582990
28592991- `"anthropic-beta": optional array of AnthropicBeta`
from line 3090
29583090
29593091- `"anthropic-workspace-id": optional string`
29603092
3093 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
3094
3095 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.
3096
29613097#### Returns
29623098
29633099- `BetaManagedAgentsMemoryVersion object`
from line 3126
29903126
29913127 - `"created"`
29923128
3129 The memory was created. The first version in any memory's lineage.
3130
29933131 - `"modified"`
29943132
3133 The memory's `content`, `path`, or both were changed via update. Writes the agent makes through the filesystem mount also appear as `modified`.
3134
29953135 - `"deleted"`
3136
3137 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.
29963138
29973139 - `content: optional string or null`
29983140