Skip to main content
GET
/
v1
/
analytics
/
namespaces
/
fields
/
performance
Get Field Performance
curl --request GET \
  --url https://api.mixpeek.com/v1/analytics/namespaces/fields/performance
{
  "namespace_id": "<string>",
  "time_range_days": 123,
  "fields": [
    {
      "field_name": "<string>",
      "usage_count": 123,
      "avg_latency_ms": 123,
      "p50_latency_ms": 123,
      "p95_latency_ms": 123,
      "p99_latency_ms": 123,
      "max_latency_ms": 123,
      "index_priority_score": 123
    }
  ],
  "total_fields": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

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'. Falls back to ?namespace= query parameter if the header is omitted.

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Query Parameters

days
integer
default:30

Days of history to analyze

Required range: 1 <= x <= 90
limit
integer
default:50

Maximum fields to return

Required range: 1 <= x <= 1000

Response

Successful Response

Response for field performance correlation endpoint.

namespace_id
string
required

Namespace ID analyzed

time_range_days
integer
required

Number of days analyzed

fields
FieldPerformanceMetrics · object[]
required

Field performance metrics

total_fields
integer
required

Total fields analyzed