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

You will get details related to a specific intent. 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

The intent to get details for.