Skip to main content
DELETE
Delete a memory
Every request requires ?beta=true.

Authorizations

X-Api-Key
string
header
default:sk-ant-local-default
required

OMA workspace API key.

Headers

anthropic-version
string
anthropic-beta
string

Path Parameters

memory_store_id
string
required

Path parameter memory_store_id

memory_id
string
required

Path parameter memory_id

Query Parameters

beta
enum<boolean>
required

Selects the beta API contract for this endpoint. Must be true.

Available options:
true
expected_content_sha256
string

Query parameter for expected_content_sha256

Response

Successful response (OK)

Tombstone returned by Delete a memory. The memory's version history persists and remains listable via List memory versions until the store itself is deleted.

type
enum<string>
required
Available options:
memory_deleted
id
string
required

ID of the deleted memory (a mem_... value).