Memory stores
Memory stores.delete memory
DELETE
/v1/memory_stores/{id}/memories/{memory_id}x-api-key<token>
Workspace API key. Read from the x-api-key header by src/auth/api-key.ts. A key that is present and does not authenticate is final — no other scheme is consulted.
In: header
Path Parameters
id*string
Match
^(?:mems)_[A-Za-z0-9_-]+$memory_id*string
Match
^(?:mem)_[A-Za-z0-9_-]+$Query Parameters
expected_content_sha256?string
Match
^[0-9a-f]{64}$Header Parameters
anthropic-beta?string
Accepted for Anthropic SDK compatibility and ignored. No value of this header changes request handling. Typed as a free-form string rather than an enum because this service recognises no specific beta value.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/memory_stores/string/memories/string"{ "id": "string", "type": "memory_deleted"}