Get comprehensive namespace optimization summary.
Provides a complete overview of namespace performance including:
Use Cases:
Response Includes:
Recommended Workflow:
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/namespaces/summary?days=30" \
-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 <= 90Successful Response
Comprehensive namespace analytics summary.
Namespace ID analyzed
Number of days analyzed
Summary statistics (total_fields_analyzed, high_priority_indexes, etc.)
Top index recommendations
Most frequently queried fields
Fields with highest latency
Compound index opportunities