Match labels to items
layerz_match_itemsResolve free-text labels (e.g. row labels from a parsed Excel) to existing item UIDs on a model. Returns the top 3 candidates per label across four methods (exact_uid, exact_name, slug, fuzzy Levenshtein), with a score. Empty candidates means the agent should create the item before importing. No LLM call — purely deterministic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | Free-text labels to resolve (e.g. row labels from an Excel sheet). | |
| model_id | No | Target model UUID. Required for user-scoped API keys; ignored (or validated against scope) for model-scoped keys. |