Skip to main content
Nowledge MemNowledge Mem

Merge Labels Endpoint

POST
/labels/merge

Merge one label into another: re-point every HAS_LABEL edge from source to target, record the merge for reversal, delete the source.

Cross-space (graph aggregation): operates on the global label graph. Used by the manual "merge labels" affordance and the agentic consolidation pass.

Query Parameters

source_id*Source Id

Label id to merge away (deleted)

target_id*Target Id

Label id to keep (survivor)

Response Body

application/json

application/json

curl -X POST "https://example.com/labels/merge?source_id=string&target_id=string"
{}