v1

latestOpenAPI 3.0.3BSL2026-07-17133415718.8 KB
Analytics

Get Top Datasets

This route allows you to view the top datasets for a given type.

post/api/analytics/top

Headers

TR-Organizationstring uuid required

The organization id to use for the request

Request body

type'search' | 'rag' | 'recommendation' required

Example request

{
  "date_range": {
    "gt": "2021-01-01 00:00:00.000",
    "gte": "2021-01-01 00:00:00.000",
    "lt": "2021-01-01 00:00:00.000",
    "lte": "2021-01-01 00:00:00.000"
  }
}

Response

The top datasets for the request

dataset_idstring uuid required
dataset_tracking_idstring nullable
total_queriesinteger required