Archive a memory store changedapi/beta/memory_stores/archive
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+15added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
# Archive a memory store ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Archive a memory store ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Archive a memory store
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/archive
4---
1# Archive a memory store
52
6## Archive a memory store
3**POST** `/v1/memory_stores/{memory_store_id}/archive`
74
8**post** `/v1/memory_stores/{memory_store_id}/archive`
9
105Archive a memory store
116
12### Path Parameters
7## Path parameters
138
149- `memory_store_id: string`
1510
16### Header Parameters
11## Headers
1712
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914
from line 86
9186
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388
94### Returns
89## Returns
9590
96- `BetaManagedAgentsMemoryStore object { id, created_at, name, 5 more }`
91- `BetaManagedAgentsMemoryStore object`
9792
9893 A `memory_store`: a named container for agent memories, scoped to a workspace. Attach a store to a session via `resources[]` to mount it as a directory the agent can read and write.
9994
from line 100
105100
106101 A timestamp in RFC 3339 format
107102
103 format: date-time
104
108105 - `name: string`
109106
110107 Human-readable name for the store. 1–255 characters. The store's mount-path slug under `/mnt/memory/` is derived from this name.
from line 108
111108
112109 - `type: "memory_store"`
113110
114 - `"memory_store"`
115
116111 - `updated_at: string`
117112
118113 A timestamp in RFC 3339 format
119114
115 format: date-time
116
120117 - `archived_at: optional string or null`
121118
122119 A timestamp in RFC 3339 format
123120
121 format: date-time
122
124123 - `description: optional string`
125124
126125 Free-text description of what the store contains, up to 1024 characters. Included in the agent's system prompt when the store is attached, so word it to be useful to the agent. Empty string when unset.
from line 128
129128
130129 Arbitrary key-value tags for your own bookkeeping (such as the end user a store belongs to). Up to 16 pairs; keys 1–64 characters; values up to 512 characters. Returned on retrieve/list but not filterable.
131130
132### Example
131## Example
133132
134```http
133```bash
135134curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID/archive \
136135 -X POST \
137136 -H 'anthropic-version: 2023-06-01' \
from line 138
139138 -H "X-Api-Key: $ANTHROPIC_API_KEY"
140139```
141140
142#### Response
141### Response (200)
143142
144143```json
145144{
No line in this hunk matches that.