Delete Memory
DELETE
/anthropic/v1/memory_stores/{memory_store_id}/memories/{memory_id}○ UnsupportedRequest parameters
memory_store_idstringrequiredpath: Memory store ID (path or query parameter).
memory_idstringrequiredpath: Memory ID (path or query parameter).
memory_store_idstringrequiredquery: Memory store ID (path or query parameter).
expected_content_sha256stringoptionalquery: Expected content SHA-256, guarding against concurrent modification.
Returns
501 This endpoint is not implemented yet; calling it returns the response below:
The platform does not provide a persistent memory store that agents can read and write yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.
Errors follow the Claude Managed Agents format — see error codes
Request
curl
curl -X DELETE https://api.deepraxis.com/anthropic/v1/memory_stores/memory_store_123/memories/memory_123 \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01"Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.memory_stores.memories.delete("memory_123", {"memory_store_id": "memory_store_123"})
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.memoryStores.memories.delete("memory_123", { memory_store_id: "memory_store_123" });
console.log(result);Response 501
{
"type": "error",
"error": {
"type": "not_implemented_error",
"message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (DELETE /v1/memory_stores/{memory_store_id}/memories/{memory_id}); see the docs for the supported subset."
},
"request_id": "cf172adb-33c6-4cc5-af61-852033408232"
}Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | ID of the deleted memory (a mem_... value). |
| type | string |