Send User Event Data
This route allows you to send user event data to the system.
Authorizations
Headers
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
The name of the event
view
The items that were viewed
The location of the event
Any other metadata associated with the event
The user id of the user who viewed the items
The name of the event
view
The items that were viewed
The location of the event
Any other metadata associated with the event
The user id of the user who viewed the items
The name of the event
add_to_cart
The items that were added to the cart
Whether the event is a conversion event
The location of the event
Any other metadata associated with the event
The user id of the user who added the items to the cart
The name of the event
click
Whether the event is a conversion event
The location of the event
Metadata to include with click event
The user id of the user who clicked the items
The name of the event
purchase
The items that were purchased
Whether the event is a conversion event
The location of the event
Any other metadata associated with the event
The user id of the user who purchased the items
The name of the event
filter_clicked
The filter items that were clicked in a hashmap ie. {filter_name: filter_value} where filter_name is filter_type::field_name
Whether the event is a conversion event
The location of the event
The user id of the user who clicked the items
search
The search query
Number of tokens used in the search
x >= 0
Latency of the search
Metadata to provide with each request
The request params of the search
The results of the search
search
, search_over_groups
, autocomplete
, rag
The top score of the search
The user id of the user who made the search
rag
The number of tokens used for this chat
x >= 0
The user message
The detected hallucinations of the RAG event
The hallucination score of the RAG event
The response from the LLM
Metadata to provide with each request
chosen_chunks
, all_chunks
The results of the RAG event
The search id to associate the RAG event with a search
The topic id to associate the RAG event with a topic
The user id of the user who made the RAG event
recommendation
Metadata to provide with each request
Negative ids used for the recommendation
Negative tracking ids used for the recommendation
Positive ids used for the recommendation
Positive tracking ids used for the recommendation
Chunk
, Group
The request params of the recommendation
The results of the Recommendation event
Top score of the recommendation
The user id of the user who made the recommendation
Response
The event data was successfully sent
Was this page helpful?