Skip to main content
POST
Get Top Datasets

Authorizations

Authorization
string
header
required

Headers

TR-Organization
string<uuid>
required

The organization id to use for the request

Body

application/json

JSON request payload to filter the top datasets

type
enum<string>
required
Available options:
search,
rag,
recommendation
date_range
object | null

DateRange is a JSON object which can be used to filter chunks by a range of dates. This leverages the time_stamp field on chunks in your dataset. You can specify this if you want values in a certain range. You must provide ISO 8601 combined date and time without timezone.

Example:

Response

The top datasets for the request

dataset_id
string<uuid>
required
total_queries
integer<int64>
required
dataset_tracking_id
string | null