Get Slowest Queries
Diagnostics
Get Slowest Queries
Get slowest queries for troubleshooting.
Identifies slowest-performing queries for optimization:
- Query text
- Execution time
- Result counts
- Stage breakdown
Use Cases:
- Identify problematic queries
- Debug performance issues
- Optimize query patterns
- User experience improvements
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/retrievers/ret_abc123/slow-queries?limit=10&hours=24" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
GET
Get Slowest Queries
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Number of queries to return
Required range:
x <= 1000Hours of history
Required range:
1 <= x <= 720Response
Successful Response

