get_dataset
Retrieve detailed dataset information including columns, metrics, and SQL. Use optional refresh to update column metadata from the source database.
Instructions
Get detail for a single dataset including columns, metrics, and SQL.
Use list_datasets first to find valid IDs. Set refresh_columns=True to query the source database for current column metadata (useful when the underlying table schema has changed).
Args: dataset_id: Numeric dataset ID response_mode: 'compact' (id+name+schema), 'standard' (columns, metrics, sql), or 'full' (raw API response). Default: full. refresh_columns: If True, also fetch live column metadata from the source database and include as 'external_columns'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | ||
| response_mode | No | full | |
| refresh_columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |