v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Analytics
Analytics - Namespaces

Get Namespace Summary

Get comprehensive namespace optimization summary.

Provides a complete overview of namespace performance including:

  • Top index recommendations
  • Most queried fields
  • Slowest fields
  • Compound index opportunities
  • Summary statistics

Use Cases:

  • Get full optimization picture
  • Regular performance reviews
  • Database health checks
  • Planning optimization work

Response Includes:

  • Summary statistics (field counts, priority levels)
  • Top 10 index recommendations
  • Top 10 most queried fields
  • Top 10 slowest fields
  • Top 10 compound index opportunities

Recommended Workflow:

  1. Call this endpoint for overview
  2. Use specific endpoints for details
  3. Implement high-priority recommendations
  4. Monitor improvement over time

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"
get/v1/analytics/namespaces/summary

Query parameters

daysinteger

Days of history to analyze

Days of history to analyze

Response

Successful Response

namespace_idstring required

Namespace ID analyzed

time_range_daysinteger required

Number of days analyzed

summaryobject required

Summary statistics (total_fields_analyzed, high_priority_indexes, etc.)