Create model
Create a new model. The typical workflow for using this endpoint is:
- Create a schema model using this endpoint
- Use the Refresh schema endpoint to load the schema for the created model
- Create shared models based on the schema model
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
ID of the connection the model is based on.
Type of model.
SCHEMA- Mirrors the database structureSHARED- Represents the universal, governed data model that workbooks are based onSHARED_EXTENSION- Represents an extension to theSHAREDmodel. Can be used to dynamically extend theSHAREDmodel based on user attributes, or as a model that workbooks are based on in a departmental use case.BRANCH- A model layer that is used to develop modifications to the production shared model
For more information, see the Modeling documentation.
SCHEMA, SHARED, SHARED_EXTENSION, BRANCH Name of the model.
Applicable to branch and extension models. ID of the base model.
List of access grants for the model.
Only applicable to SHARED_EXTENSION models. Controls whether users can explore and query the extension model. If true, the model appears in the model selector when creating a new analysis, and users and AI can run queries against it. If false (the default), the extension model is hidden from the model selector and all exploration, query access, and AI chat access are disabled. Set to true for any extension model intended for end-user or AI interaction.
Only applicable to SHARED_EXTENSION models. If true, branches are shown on the extension model page instead of parent shared model.

