Get Field Performance
Analyze field performance correlation.
Shows which metadata fields correlate with slow queries, helping identify fields that would benefit most from indexing.
Use Cases:
- Identify fields causing performance issues
- Quantify indexing impact potential
- Prioritize index creation
- Monitor field usage patterns
Response Includes:
- Field usage count
- Latency statistics (avg, P50, P95, P99, max)
- Index priority score (usage × latency)
- Sorted by priority score
Index Priority Score: Higher scores indicate fields where indexing would have greatest impact. Score = (query count) × (average latency)
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/namespaces/fields/performance?days=30" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_MIXPEEK_API_KEY"
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'. Falls back to ?namespace= query parameter if the header is omitted.
"ns_abc123def456"
"production"
"my-namespace"
Query Parameters
Days of history to analyze
1 <= x <= 90Maximum fields to return
1 <= x <= 1000Response
Successful Response

