v5

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

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

Query parameters

daysinteger

Days of history to analyze

Days of history to analyze

limitinteger

Maximum fields to return

Maximum fields to return

Response

Successful Response

namespace_idstring required

Namespace ID analyzed

time_range_daysinteger required

Number of days analyzed

total_fieldsinteger required

Total fields analyzed