POST
/
api
/
external
/
intents-v2
/
details
/
user-queries
curl --request POST \
  --url https://backend.nebuly.com/api/external/intents-v2/details/user-queries \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "time_range": {
    "kind": "<string>",
    "start": "<string>",
    "end": "<string>"
  },
  "intent": "<string>",
  "limit": 123,
  "offset": 123
}'

You will get data of the intent user queries as displayed in the user intent detail page in the Nebuly Platform. You need an API key to authenticate. See here for more information about the API keys.

time_range
object
required

The time range to consider when computing the metrics and analytics to show.

kind
string
required

The value of the time range. It can be one between today, 7_days, this_month, 30_days, 6_months, 12_months, ytd, custom. If custom is given the values pass in the start and end fields will be used as start date and end date if the time range.

start
string
required

The start date for the time-range. Please consider that this parameter is used only when custom is given as kind.

end
string
required

The end date for the time-range. Please consider that this parameter is used only when custom is given as kind.

intent
string
required

The intent for which you want to get the user queries.

limit
integer
required

Parameter needed for pagination. It indicates the number of intents per page.

offset
integer
required

Parameter needed for pagination. It indicates the offset to be applied to the first intents returned.