Skip to main content
POST
Get RAG Analytics

Authorizations

Authorization
string
header
required

Headers

TR-Dataset
string<uuid>
required

The dataset id or tracking_id to use for the request. We assume you intend to use an id if the value is a valid uuid.

Body

application/json

JSON request payload to filter the graph

type
enum<string>
required
Available options:
rag_queries
filter
object | null
has_clicks
boolean | null
page
integer<int32> | null
Required range: x >= 0
sort_by
enum<string> | null
Available options:
hallucination_score,
top_score,
created_at
sort_order
enum<string> | null
Available options:
desc,
asc

Response

The RAG analytics for the dataset

queries
RagQueryEvent · object[]
required