Knowledge Graphs

Rebuild nodes from schematic drawings (destructive)

Drops EVERY node and edge in the knowledge graph — including manually created ones — and re-projects its schematic drawings from scratch. 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. 409 when no document carries a projectable schematic graph (nothing would be rebuilt, so nothing is dropped).

post/api/v0/knowledge-graphs/{kg_id}/nodes/project

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 before rebuilding.

Explicitly and permanently delete all extraction runs, extraction sources, current or historical attribute claims, and fact resolutions before rebuilding.

Response

Successful Response

disciplinestring required

Which discipline projection ran (e.g. 'piping', 'electrical', 'instrument_loop', 'aircraft').

drawingsinteger required

Number of schematic drawings the projection built from.

nodes_createdinteger required
edges_createdinteger required

Total edges created, across all types.

nodes_by_typeobject required

Projected node counts keyed by type_id.

edges_by_typeobject required

Projected edge counts keyed by edge_type_id (includes the represents grounding edges).

Changes

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