v5

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

Get Most Queried Fields

Get most frequently queried metadata fields.

Identifies which metadata fields are accessed most often in retriever queries, helping prioritize index creation and understand query patterns.

Use Cases:

  • Identify fields that need indexing
  • Understand common query patterns
  • Prioritize optimization efforts
  • Plan database schema improvements

Response Includes:

  • Field name and usage frequency
  • Average and P95 latency metrics
  • Total unique fields analyzed

Example:

curl -X GET "https://api.mixpeek.com/v1/analytics/namespaces/fields/most-queried?days=30&limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Namespace: your-namespace"
get/v1/analytics/namespaces/fields/most-queried

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 unique fields found