Skip to main content
GET
/
v1
/
analytics
/
namespaces
/
indexes
/
compound-patterns
Get Compound Index Patterns
curl --request GET \
  --url https://api.mixpeek.com/v1/analytics/namespaces/indexes/compound-patterns \
  --header 'Authorization: Bearer <token>'
{
  "namespace_id": "<string>",
  "time_range_days": 123,
  "patterns": [
    {
      "field_combination": [
        "<string>"
      ],
      "combination_count": 123,
      "avg_latency_ms": 123,
      "p95_latency_ms": 123
    }
  ],
  "total_patterns": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

days
integer
default:30

Days of history to analyze

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

Maximum patterns to return

Required range: 1 <= x <= 1000

Response

Successful Response

Response for compound index patterns endpoint.

namespace_id
string
required

Namespace ID analyzed

time_range_days
integer
required

Number of days analyzed

patterns
CompoundIndexPattern · object[]
required

Compound field patterns

total_patterns
integer
required

Total patterns found