Examples
Get intents
Get intents and their queries (details)
User intents represent a grouping of user queries that share the same purpose or goal. In our platform, these intents are treated as aggregates. You can easily retrieve them using the get-interaction-aggregates endpoint.
Let’s suppose that we want to get the intents sorted by volume and paginated with a limit size of 10.
The code snippet above, with a valid API key, will return the paginated version of the intents. Now, let’s get the user requests (queries) that belongs to the intent with the highest volume.
First we selected the intent and then we will use the get-interactions endpoint: