Brain Docs

Reference

Python SDKInstallationHTTP clientWire clientSync vs async
create_entityget_entityresolve_entitylist_entitiesupdate_entityrename_entitymerge_entitiesunmerge_entitytombstone_entity
ErrorsRetriesPagination
Brain/Docs
✦ ASKBrain on GitHubDashboard
Python SDKEntitiestombstone_entity

tombstone_entity

Retire an entity — it leaves listings but its id keeps resolving.

PURPOSE

Retire an entity. It stops appearing in listings unless tombstoned rows are explicitly requested.

DELETE/v1/entities/:idBearer API keystable
tombstone_entity(entity_id: str, reason: str | None = None) -> TombstoneResult
Handshake credentialstable
tombstone_entity(request: EntityTombstoneRequest) -> EntityTombstoneResponse

Parameters

ParameterTypeRequired
entity_idstringrequired

The entity to retire.

reasonstringoptional

Recorded with the tombstone.

Returns

FieldTypePresence
tombstoned_at_unix_nanos64-bit integeralways

When it was retired.

Tombstoning an entity does not remove the statements and relations that point at it. Retire those separately — see tombstone_statement and tombstone_relation.

On the wire

Ids are fixed-width UUID bytes rather than strings, attributes is an opaque attributesBlob, and every request carries a requestId plus an optional actAs. See Wire client.

See also
tombstone_statementtombstone_relation

Was this page helpful?

unmerge_entity

Reverse a merge inside its grace period — addressed by the merged id, not the survivor's.

create_statement

Write a typed claim — subject, predicate, object — and learn what it automatically superseded.

On this page

ParametersReturnsOn the wire
Suggest an editOpen in Playground