Knowledge Graphs

Delete ALL nodes and edges in a KG

Clears the knowledge graph: every node and every edge — projected, bootstrapped, and manually created alike — is deleted. Documents, their visual components, and package subscriptions are untouched, so a subsequent initialize/project starts from a clean slate. If extraction provenance, current/historical claims, or resolutions exist, the request returns 409 unless discard_evidence=true explicitly permits their permanent deletion. Export an archive before discarding them.

delete/api/v0/knowledge-graphs/{kg_id}/nodes

Path parameters

kg_idstring uuid required

Query parameters

discard_evidenceboolean

Explicitly and permanently delete all extraction runs, extraction sources, current or historical attribute claims, and fact resolutions with the graph.

Explicitly and permanently delete all extraction runs, extraction sources, current or historical attribute claims, and fact resolutions with the graph.

Response

Successful Response

nodes_deletedinteger required
edges_deletedinteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.