List version snapshots in a Forward Memory Store.
Lists version snapshots in a Memory Store. Versions are organized at the Store level. Use
HTTP 200 OK
memory_id to filter for the history of one Memory.
Creating, updating, or deleting a Memory automatically produces an immutable version.
The list response does not include content. Use Get a Memory version to retrieve version content.
Path
GET /api/v1/forward/memory_stores/{memory_store_id}/memory_versions
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or admin SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
memory_store_id | string | Yes | Memory Store ID (memstore_...). |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Maximum number of results per page, from 1 to 100. Default: 20. |
before_id | string | No | Backward pagination cursor. Mutually exclusive with after_id. |
after_id | string | No | Forward pagination cursor. Mutually exclusive with before_id. |
memory_id | string | No | Returns only versions of this Memory (mem_...). |
Example requests
Example response
HTTP 200 OK
Empty-list response
Response fields
| Field | Type | Description |
|---|---|---|
data | array | Array of Memory Version objects, without content. |
first_id | string/null | ID of the first record on the current page. |
last_id | string/null | ID of the last record on the current page. |
has_more | boolean | Whether more records are available. |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | limit is out of range, or after_id and before_id are both supplied. |
| 401 | authentication_error | The authentication token is missing or invalid. |
| 403 | permission_error | The caller cannot access the resource. |
| 404 | not_found_error | The Memory Store does not exist or is not visible across users. |
| 500/502/503 | api_error | Forward or a dependent service failed. |