Skip to content

Analytics API

Lightweight read-only statistics about index size and shape. Useful for dashboards and health checks. None of these endpoints accept query filters; they always report against the current full index state.

MethodPathSummaryKey paramsResponse
GET/index-statsAggregate index statistics (corpus, per-collection, per-libro)IndexStatsResponse
GET/query-statsQuery analytics and statisticsq (query:string)QueryStatsResponse
GET/statsSearch cache hit/miss countersCacheStatsResponse

Corpus-wide index statistics

Terminal window
curl -H "X-API-Key: $API_KEY" "$ARCHAIC/index-stats"