Knowledge Base Graph
Delete ALL nodes and edges in a KG
Changed onClears 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-bases/{kb_id}/graph/nodes
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
kb_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.
Response
Successful Response
Changes
- info
endpoint added
- info