Get 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:
Response Includes:
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"
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
Days of history to analyze
1 <= x <= 90Latency threshold in ms
100 <= x <= 10000Maximum queries to return
1 <= x <= 500Successful Response
Response for slow queries endpoint.