List mapping rules
layerz_list_mappingsLists the import classification rules in scope for a model: sets (each with a scope: model = the model's own rules, system_template = the curated country catalogs (PCG, US GAAP, UK, SKR03/04), user_template = the caller's reusable catalogs), mappings (the effective rules: pattern → target item, sign, source scope) and templates (the catalogs importable through layerz_manage_mapping { op: "import_template" }). A model classifies with its own model rules only; a catalog applies once imported. A pattern is a case-insensitive glob where * matches anywhere. include_user_mappings: true adds the account-wide catalogs to sets / mappings; include_coverage: true adds per-rule match_count and a coverage block (auto-created count, ignored count, the top keys routing nowhere).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Target model UUID. Required for user-scoped API keys; validated against the bound model for model-scoped keys. | |
| include_coverage | No | Also compute `match_count` per rule and a `coverage` block (classifies every source: heavier read). | |
| include_user_mappings | No | Also list the account-wide user catalogs in `sets` / `mappings` (default: only what the model classifies with). |