Developer

Insights

Using paging

 

When using the AnywhereNow Insights API, some queries may return multiple pages of data. This can be due to server-side paging or the use of the $top query parameter to limit the page size in a request. To retrieve all the results, you can use the $skip parameter.

For example, the following URL requests all the users in an organization with a page size of 5, specified with the $top query parameter:

Copy
HTTP
GET {Insights API URL}/Dialogues?$top=5

To get the next 5 results, you can use the $skip parameter to retrieve the next page of the results:

Copy
HTTP
GET {Insights API URL}/Dialogues?$top=5$skip=5

Environment

minute to read