You need an API key to authenticate. See here for more information about the API keys.
The time range to consider when computing the metrics and analytics to show.
start
string
default: "2024-05-30T09:27:52.420Z"
required
The start date for the time-range.
end
string
default: "2024-05-30T09:27:52.420Z"
required
The end date for the time-range.
Filters you can use to get data based only on the interactions you are interested in.
The filter kind. It can be one of the following values:
user_intent
negative_user_intent
keyword
user_feedback
tag
type_of_problem
topic
user
user_query
Optional field to be used only when the kind is tag. It should specify the tag name, which is the same as the key you used in the tags dictionary during the interaction submission.
The values of the selected filter you want to filter on. Note that all the values passed in
the list are considered to be in “or” the one with the other. This means that if the kind is
“topic” and the passed values are “value A”, “value B”, this is equal to topic="value A" or topic="value B"
.
The variables for which values are required. If not specified, all available variables will be computed.
The supported variables are
n_interactions
n_users
user_feedback
cost
latency_seconds
n_intents
retention
The granularity selected for the time-series chart. It can be a value between:
Response
X axis values accordingly to the selected granularity.
The data to be shown on the y axis. Note that the object has as keys the values that correspond to the different group_by values, if a group by has been selected, otherwise a unique key “total” is returned.
Each object in the list corresponds to a different x,y pairs.
The total number of interaction for the selected granularity and given x-value.
The total number of interaction for the selected granularity, but referring to the previous time-range respect the one considered.
The total number of distinct users for the selected granularity and given x-value.
The total number of distinct users for the selected granularity, but referring to the previous time-range respect the one considered.
n_positive_implicit_user_feedback
The total number of positive implicit feedback for the selected granularity and given x-value.
n_positive_implicit_user_feedback_prev
The total number of positive implicit feedback for the selected granularity, but referring to the previous time-range respect the one considered.
n_negative_implicit_user_feedback
The total number of negative implicit feedback for the selected granularity and given x-value.
n_negative_implicit_user_feedback_prev
The total number of negative implicit feedback for the selected granularity, but referring to the previous time-range respect the one considered.
n_positive_explicit_user_feedback
The total number of positive explicit feedback for the selected granularity and given x-value.
n_positive_explicit_user_feedback_prev
The total number of positive explicit feedback for the selected granularity, but referring to the previous time-range respect the one considered.
n_negative_explicit_user_feedback
The total number of negative explicit feedback for the selected granularity and given x-value.
n_negative_explicit_user_feedback_prev
The total number of negative explicit feedback for the selected granularity, but referring to the previous time-range respect the one considered.