Analytics

Query volume, zero-result queries, top queries.

Skryx logs every query (excluding * browse queries) so you can see what customers are actually searching for. The data feeds the AI Search Coach and is exposed via two endpoints.

# Top queries

GET /v1/indexes/{name}/analytics/queries?days=7&limit=20

Returns the most common queries in the window, with their average result count and click-through rate (CTR).

{
  "data": [
    { "query": "tractor",           "count": 42, "avg_results": 45.7, "ctr": 0.62 },
    { "query": "incarcator frontal","count": 28, "avg_results": 18.3, "ctr": 0.68 }
  ]
}

# Zero-result queries

GET /v1/indexes/{name}/analytics/no-results?days=7&limit=20

The most common queries that returned zero results. These are leads for synonyms and catalog gaps.

{
  "data": [
    { "query": "tractoras",  "count": 24 },
    { "query": "buldozer",   "count": 17 },
    { "query": "stivuitor",  "count": 11 }
  ]
}

# Common query parameters

Name Default Description
days 7 Lookback window in days, max 90.
limit 20 Cap on rows returned.
from / to Override days with explicit ISO-8601 timestamps.

For deeper analytics, the same data is available in the dashboard under Analytics with chart visualisations and tenant-wide totals.

esc