24a8012aa8c8
Get Model
Retrieve models from model ID
Path parameters
The id of the model
Response
Ok
The id of the model
The name of the model
The slug of the model
The description of the model
The id of the workspace where the model belongs to
The primary key will be null if the query doesn't get directly synced (e.g. a relationship table for visual querying)
The timestamp when model was created
The timestamp when model was lastly updated
The id of the source that model is connected to
The type of the query. Available options: custom, raw_sql, tabel, dbt and visual.
The tags of the model
If is_schema is true, the model is just used to build other models. Either as part of visual querying, or as the root of a visual query.
The list of id of syncs that uses this model
The number of rows returned by the most recent successful sync run of this model. Null if the model has never been synced successfully.