Create a memory store changedapi/beta/memory_stores/create
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+19added
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
# Create a memory store ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Create a memory store ### Header Parameters ### Body Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Create a memory store
3url: https://platform.claude.com/docs/en/api/beta/memory_stores/create
4---
1# Create a memory store
52
6## Create a memory store
3**POST** `/v1/memory_stores`
74
8**post** `/v1/memory_stores`
9
105Create a memory store
116
12### Header Parameters
7## Headers
138
149- `"anthropic-beta": optional array of AnthropicBeta`
1510
from line 82
8782
8883 - `"mid-conversation-tool-changes-2026-07-01"`
8984
90### Body Parameters
85## Body parameters
9186
9287- `name: string`
9388
9489 Human-readable name for the store. Required; 1–255 characters; no control characters. The mount-path slug under `/mnt/memory/` is derived from this name (lowercased, non-alphanumeric runs collapsed to a hyphen). Names need not be unique within a workspace.
9590
91 minLength: 1, maxLength: 255
92
9693- `description: optional string`
9794
9895 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.
9996
97 maxLength: 1024
98
10099- `metadata: optional map[string]`
101100
102101 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. Not visible to the agent.
103102
104### Returns
103## Returns
105104
106- `BetaManagedAgentsMemoryStore object { id, created_at, name, 5 more }`
105- `BetaManagedAgentsMemoryStore object`
107106
108107 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.
109108
from line 114
115114
116115 A timestamp in RFC 3339 format
117116
117 format: date-time
118
118119 - `name: string`
119120
120121 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 122
121122
122123 - `type: "memory_store"`
123124
124 - `"memory_store"`
125
126125 - `updated_at: string`
127126
128127 A timestamp in RFC 3339 format
129128
129 format: date-time
130
130131 - `archived_at: optional string or null`
131132
132133 A timestamp in RFC 3339 format
133134
135 format: date-time
136
134137 - `description: optional string`
135138
136139 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 142
139142
140143 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.
141144
142### Example
145## Example
143146
144```http
147```bash
145148curl https://api.anthropic.com/v1/memory_stores \
146149 -H 'Content-Type: application/json' \
147150 -H 'anthropic-version: 2023-06-01' \
from line 155
152155 }'
153156```
154157
155#### Response
158### Response (200)
156159
157160```json
158161{
No line in this hunk matches that.