get_query_history
Retrieve and filter recent database query history by database, kind, time range, errors, or profile. Use it to analyze past activity and troubleshoot issues.
Instructions
Get recent query history. Filters: db, kind, since, until, onlyErrors, limit (default 50). v2.19: profileName (string | null) + groupBy='profile' (aggregates).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| kind | No | ||
| limit | No | ||
| since | No | ||
| until | No | ||
| groupBy | No | Aggregate query. v2.19. | |
| onlyErrors | No | ||
| profileName | No | Filter by profile. null = global-only; string = that profile. v2.19. |