Memory Versions changedapi/beta/memory_stores/memory_versions
Nearest release: v2.1.247, published under an hour before 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+52added
Lines−10removed
From line
76
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 76, old and new numbered
/
from line 76
7676
7777 - `string`
7878
79 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
79 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
8080
8181 - `"message-batches-2024-09-24"`
8282
from line 146
146146
147147 - `"mid-conversation-tool-changes-2026-07-01"`
148148
149 - `"compact-2026-01-12"`
150
151 - `"computer-use-2025-11-24"`
152
153 - `"mcp-tunnels-2026-06-22"`
154
155 - `"structured-outputs-2025-11-13"`
156
157 - `"task-budgets-2026-03-13"`
158
159 - `"thinking-display-updates-2026-08-18"`
160
161 - `"ce-user-management-2026-07-13"`
162
149163### Returns
150164
151165- `data: optional array of BetaManagedAgentsMemoryVersion`
from line 178
164178
165179 - `memory_id: string`
166180
167 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
181 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
168182
169183 - `memory_store_id: string`
170184
from line 350
336350
337351 - `string`
338352
339 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
353 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
340354
341355 - `"message-batches-2024-09-24"`
342356
from line 420
406420
407421 - `"mid-conversation-tool-changes-2026-07-01"`
408422
423 - `"compact-2026-01-12"`
424
425 - `"computer-use-2025-11-24"`
426
427 - `"mcp-tunnels-2026-06-22"`
428
429 - `"structured-outputs-2025-11-13"`
430
431 - `"task-budgets-2026-03-13"`
432
433 - `"thinking-display-updates-2026-08-18"`
434
435 - `"ce-user-management-2026-07-13"`
436
409437### Returns
410438
411439- `BetaManagedAgentsMemoryVersion object`
412440
413 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
441 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
414442
415443 - `id: string`
416444
from line 452
424452
425453 - `memory_id: string`
426454
427 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
455 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
428456
429457 - `memory_store_id: string`
430458
from line 605
577605
578606 - `string`
579607
580 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
608 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 38 more`
581609
582610 - `"message-batches-2024-09-24"`
583611
from line 675
647675
648676 - `"mid-conversation-tool-changes-2026-07-01"`
649677
678 - `"compact-2026-01-12"`
679
680 - `"computer-use-2025-11-24"`
681
682 - `"mcp-tunnels-2026-06-22"`
683
684 - `"structured-outputs-2025-11-13"`
685
686 - `"task-budgets-2026-03-13"`
687
688 - `"thinking-display-updates-2026-08-18"`
689
690 - `"ce-user-management-2026-07-13"`
691
650692### Returns
651693
652694- `BetaManagedAgentsMemoryVersion object`
653695
654 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
696 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
655697
656698 - `id: string`
657699
from line 707
665707
666708 - `memory_id: string`
667709
668 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
710 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
669711
670712 - `memory_store_id: string`
671713
from line 915
873915
874916- `BetaManagedAgentsMemoryVersion object`
875917
876 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and persist after the memory is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
918 A `memory_version` object: one immutable, attributed row in a memory's append-only history. Every non-no-op mutation to a memory produces a new version. Versions belong to the store (not the individual memory) and are not deleted with the memory; each version is retained for at least the version retention period after it was written, unless the store itself is deleted. Retrieving a redacted version returns 200 with `content`, `path`, `content_size_bytes`, and `content_sha256` set to `null`; branch on `redacted_at`, not HTTP status.
877919
878920 - `id: string`
879921
from line 929
887929
888930 - `memory_id: string`
889931
890 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the full lineage including the `deleted` row.
932 ID of the memory this version snapshots (a `mem_...` value). Remains valid after the memory is deleted; pass it as `memory_id` to [List memory versions](/docs/en/api/beta/memory_stores/memory_versions/list) to retrieve the memory's retained versions, including the `deleted` row while the lineage is retained.
891933
892934 - `memory_store_id: string`
893935
No line in this hunk matches that.