latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

KnowledgeGraph

Delete a knowledge graph node

Deletes a knowledge graph node. soft_delete=true (default) sets status=ARCHIVED. soft_delete=false hard-deletes the row and cascades to all incoming and outgoing edges and external refs in the same Spanner transaction.

delete/knowledgeGraph/nodes/{node_id}

Path parameters

node_idstring required

The ID of the node to delete

Query parameters

workspace_idstring required

The workspace ID (required for auth scope)

application_idstring

The application ID (required for auth scope)

soft_deleteboolean

If true (default), archives the node. If false, hard-deletes with cascade.

Response

Successfully archived (soft_delete=true)

node_idstring

Unique identifier for the node (server-generated, suffix -kgn)

workspace_idstring

The workspace this node belongs to

application_idstring

The application this node is associated with

label'Page' | 'Workflow' | 'Feature' | 'KnowledgeDoc' | 'Pattern'

Label for a knowledge graph node indicating its concept type

namestring

The name of the concept

summarystring

A short summary of the concept

contentstring

Detailed content for this node (max 20K chars before embedding fallback)

status'ACTIVE' | 'ARCHIVED'

Status of a knowledge graph node

confidencenumber double

Confidence score (0.0-1.0) mapped from tier (high=1.0, medium=0.6, low=0.3)

provenance_summarystring

Free-text provenance summary for this concept

propertiesobject

Additional structured properties for this node

embedding_input_is_summaryboolean

True if embedding was computed from summary rather than content (content exceeded 20K chars)

versioninteger

Monotonic edit counter (server-managed, readOnly)

u_version_string

ETag for optimistic locking (server-managed, readOnly)

last_updated_bystring

Principal who last updated this node (server-managed, readOnly)

agent_typestring

Agent type that wrote this node (e.g. AMA-Bootstrap, RAA-Enrichment)

agent_versionstring

Agent version that wrote this node

created_bystring

Principal who created this node (server-managed, readOnly)

created_atstring date-time

Creation timestamp

updated_atstring date-time

Last update timestamp