Skip to main content
Nowledge MemNowledge Mem

Consolidate Labels

POST
/labels/consolidate

Consolidate exact-canonical label forks into their highest-usage survivor.

Cross-space (graph aggregation): operates on the global label graph. Deterministic and safe (same canonical token = same concept). Defaults to dry_run=true so callers preview the plan before mutating. Semantic and cross-language consolidation is the separate agent-judged pass.

Query Parameters

dry_run?Dry Run

Preview without merging

Defaulttrue
max_groups?Max Groups
Range1 <= value <= 5000
Default200

Response Body

application/json

application/json

curl -X POST "https://example.com/labels/consolidate"
{}