Update a memory store's name, description, or metadata.
POST /api/v1/cloud/memory_stores/{memory_store_id}
Updates a memory store. All fields are optional; omitted fields are preserved.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT or SAT> |
Content-Type | Yes | application/json |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
memory_store_id | string | Yes | Memory Store ID with the memstore_ prefix |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | New name, 1–255 characters, no control characters |
description | string | No | New description, up to 1024 characters. Pass empty string to clear |
metadata | object | No | Metadata patch. Set a key to a string to upsert, or to null to delete. Omit to preserve |
Example request
Response
Returns the updated Memory Store object.
Error codes
| HTTP | type | Trigger |
|---|---|---|
| 400 | invalid_request_error | Invalid name, description, or metadata |
| 401 | authentication_error | Missing or invalid authentication token |
| 404 | not_found_error | No Memory Store exists with the specified ID |