Get Slow Queries
Changed onGet slow queries and their filter patterns.
Identifies queries exceeding a latency threshold and shows which metadata fields they're filtering on, helping pinpoint optimization opportunities.
Use Cases:
- Troubleshoot slow queries
- Identify unindexed fields causing slowdowns
- Debug performance issues
- Optimize query patterns
Response Includes:
- Query details (retriever, inputs, latency)
- Results count
- Metadata fields being filtered
- Full query context
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/namespaces/queries/slow?latency_threshold_ms=1000" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/analytics/namespaces/queries/slow
- Auth: HTTP bearer and API key in header X-Namespace
Query parameters
Days of history to analyze
Latency threshold in ms
Maximum queries to return
Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info