Deploy model
Semantic models
Deploy model
Deploy an approved semantic model to Trino.
Required role: nx1_semantic_admin
POST
Deploy model
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Request to deploy an approved model.
Create an Airflow DAG for scheduled refresh.
Cron schedule. Required if create_schedule=True.
Register the deployed view in DataHub.
Add lineage from source tables.
Create a Superset dashboard for the deployed model.
Response
Model deployed.
Response for model deployment.
Status of a semantic model.
Available options:
draft, pending_review, approved, rejected, deployed, failed, archived DataHub URN if registered.
Airflow job ID if scheduled.
Airflow DAG URL.
Superset dashboard info if created.

