How to get whole results when searching with OAuth Service?

Hello,
I am using OAuth Service to get search results from workplace search. But when I got the results from workplace search, I can see only top 10 results. How can I get the whole results from workplcace search?

Hi @chen.lu, thanks for using Workplace Search!

To clarify, you're using the Workplace Search Search API, which required you to create an OAuth API Token via the OAuth Service?

If that's the case, I think you're looking for the pagination settings for the Search API. This will allow you to retrieve up to 100 documents at a time, and then to grab the "next" set of documents regardless of the size.

Hi Sean,
Thank you very much. I found the pagination setting and I can get more results now.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.