Consolidate Labels
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
max_groups?Max Groups
Response Body
application/json
application/json
curl -X POST "https://example.com/labels/consolidate"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}