Analytics
Analytics - Namespaces

Get Field Performance

Changed on

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

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/analytics/namespaces/fields/performance
  • Auth: HTTP bearer and API key in header X-Namespace

Query parameters

daysinteger

Days of history to analyze

limitinteger

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

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the optional property to the response with the status