Match a model definition against catalog metadata using AI.
Required Role: nx1_semantic_modeller or nx1_semantic_admin
Takes a model name, description, and desired columns/metrics, then scans the domain’s datasets to find the best matching source tables and columns. Returns matched columns with confidence scores and generated SQL.
This is used during manual model creation to auto-fill source tables, columns, and SQL from the catalog.
The access token received from the authorization server in the OAuth 2.0 flow.
Request to match a model definition against catalog metadata.
Name of the model being defined
What the model should represent
Desired columns/metrics the model should expose
Domain name. Either domain_name or domain_urn required.
Domain URN. Either domain_name or domain_urn required.
Only consider these tables
Exclude these tables from consideration
Target Trino catalog
Target Trino schema
Matched model with source tables and columns
Response from catalog matching.
AI-generated SQL for the view
Overall match confidence 0-1
AI explanation of the matching strategy
Any warnings about the match