datamodel.get_model_schema
datamodel_get_model_schemaRetrieve a data model's schema by name, listing tables and columns with readable column types. Resolves the model and returns one row per column for governance or analysis.
Instructions
Retrieve the schema of a data model, including tables and columns. Resolves the data model by name and emits one row per column, mapping Sisense numeric column type codes to readable type names.
Returns: list[dict[str, Any]] | dict[str, Any] A list of dicts (one per column) with datamodel_name, datamodel_type, dataset_name, table_name, column_name, and column_type on success, or ``{"error": …
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datamodel_name | Yes | Name (title) of the data model to retrieve the schema for. |