Query History
Track, search, and manage all your executed queries with powerful history features that help you find past work and understand query patterns.
Automatic Query Tracking
Agent M automatically saves every query you execute, creating a comprehensive history that includes the query text, execution time, target database and collection, result count, and performance metrics. This history is organized by conversation sessions and can be searched and filtered in multiple ways.
Automatic Tracking
Every query you execute is automatically saved with timestamp and context
Advanced Search
Search through your query history by content, database, or date range
Time Organization
Browse queries by day, week, or month with intelligent grouping
Database Context
See which database and collection each query was executed against
Search and Filter
Find specific queries quickly using Agent M's powerful search and filtering capabilities. You can search by content, filter by database or collection, and narrow down results by date range.
Search Examples
find users
database:users
date:2024-01-15
collection:orders
History Actions
Each query in your history comes with quick actions to help you work more efficiently. Re-run queries, save them to favorites, export results, or clean up old entries.
Re-run Query
Execute the same query again with one click
Add to Favorites
Save important queries to your favorites collection
Export Results
Download query results in JSON, CSV, or Excel format
Delete Entry
Remove queries from your history when no longer needed
Best Practices
- •Use descriptive comments when saving important queries to favorites
- •Regularly clean up old queries to keep your history organized
- •Use date filters to find queries from specific time periods
- •Export important query results before they're overwritten