PUT
/
api
/
analytics
/
ctr

Authorizations

Authorization
string
headerrequired

Headers

TR-Dataset
string
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
ctr_type
enum<string>
required
Available options:
search,
rag,
recommendation
position
integer
required

The position of the clicked chunk

request_id
string
required

The request id for the CTR data

clicked_chunk_id
string | null

The ID of chunk that was clicked

clicked_chunk_tracking_id
string | null

The tracking ID of the chunk that was clicked

metadata
any | null

Any metadata you want to include with the event i.e. action, user_id, etc.