Connect and control your Apache Superset instance programmatically with ease. Enable AI agents to manage dashboards, charts, and databases using natural language requests. Streamline your data exploration and visualization tasks effortlessly.
Tools
superset_auth_check_token_validity
Check if the current access token is still valid Makes a request to the /api/v1/me/ endpoint to test if the current token is valid. Use this to verify authentication status before making other API calls. Returns: A dictionary with token validity status and any error information
superset_auth_refresh_token
Refresh the access token using the refresh endpoint Makes a request to the /api/v1/security/refresh endpoint to get a new access token without requiring re-authentication with username/password. Returns: A dictionary with the new access token or error information
superset_auth_authenticate_user
Authenticate with Superset and get access token Makes a request to the /api/v1/security/login endpoint to authenticate and obtain an access token. If there's an existing token, will first try to check its validity. If invalid, will attempt to refresh token before falling back to re-authentication. Args: username: Superset username (falls back to environment variable if not provided) password: Superset password (falls back to environment variable if not provided) refresh: Whether to refresh the token if invalid (defaults to True) Returns: A dictionary with authentication status and access token or error information
superset_dashboard_list
Get a list of dashboards from Superset Makes a request to the /api/v1/dashboard/ endpoint to retrieve all dashboards the current user has access to view. Results are paginated. Returns: A dictionary containing dashboard data including id, title, url, and metadata