superset_dataset_get_by_id
Retrieve detailed information about a specific dataset including columns and metrics by its ID from Apache Superset.
Instructions
Get details for a specific dataset
Makes a request to the /api/v1/dataset/{id} endpoint to retrieve detailed information about a specific dataset including columns and metrics.
Args: dataset_id: ID of the dataset to retrieve
Returns: A dictionary with complete dataset information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes |
Implementation Reference
- main.py:1107-1124 (handler)The handler function implementing the 'superset_dataset_get_by_id' tool. It authenticates, handles errors, and makes a GET request to the Superset API endpoint /api/v1/dataset/{dataset_id} to retrieve dataset details.@mcp.tool() @requires_auth @handle_api_errors async def superset_dataset_get_by_id(ctx: Context, dataset_id: int) -> Dict[str, Any]: """ Get details for a specific dataset Makes a request to the /api/v1/dataset/{id} endpoint to retrieve detailed information about a specific dataset including columns and metrics. Args: dataset_id: ID of the dataset to retrieve Returns: A dictionary with complete dataset information """ return await make_api_request(ctx, "get", f"/api/v1/dataset/{dataset_id}")