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. If true, allows the model to be selected as a base model when creating workbooks.
Only applicable to SHARED_EXTENSION models. If true, branches are shown on the extension model page instead of parent shared model.