superset_activity_get_recent
Retrieve recent user activity history from Apache Superset, including viewed charts and dashboards, to monitor and analyze user interactions.
Instructions
Get recent activity data for the current user
Makes a request to the /api/v1/log/recent_activity/ endpoint to retrieve a history of actions performed by the current user.
Returns: A dictionary with recent user activities including viewed charts and dashboards
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:1453-1466 (handler)The handler function for the 'superset_activity_get_recent' tool. It uses the make_api_request helper to fetch recent user activity from Superset's API endpoint /api/v1/log/recent_activity/. Requires authentication via decorator.@mcp.tool() @requires_auth @handle_api_errors async def superset_activity_get_recent(ctx: Context) -> Dict[str, Any]: """ Get recent activity data for the current user Makes a request to the /api/v1/log/recent_activity/ endpoint to retrieve a history of actions performed by the current user. Returns: A dictionary with recent user activities including viewed charts and dashboards """ return await make_api_request(ctx, "get", "/api/v1/log/recent_activity/")