volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

Optimizely Find - Get Most popular Searches stats - to get back our top 5 searched terms

Hi 

We want to retrieve most popularr searches out of the FInd.

 

Seems like you can get everything else out but not most popular searches

 

Some suggestions to use direct url - but we get unathorised error when doign that way

 

https://world.optimizely.com/forum/developers-add-ons-forum/Search/Thread-Container/2015/6/most-frequent-searches/

 

https://world.optimizely.com/forum/legacy-forums/Feature-requests/Thread-Container/2015/6/possible-to-get-information-about-most-frequent-searches-through-statistics-api-in-episerver-find/

 

Regards

#340246
Sep 04, 2025 12:28
Johan Kronberg - Sep 10, 2025 6:03
Which endpoint/URL are you getting an unauthorized response from?

 using HttpClient httpClient = new HttpClient();
 var response = await httpClient.GetAsync(Client.GetServiceUrlWithDefaultIndex() + "/_stats/query/top?size=10");

#340392
Sep 12, 2025 7:58
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.