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"
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Query Parameters
Days of history to analyze
1 <= x <= 90Maximum fields to return
1 <= x <= 1000Response
Successful Response

