The SearchResult datatype includes various settings.

Table: SearchResult

ParameterTypeRequired[a]DefaultDescription
totalResultsintegeryes The total number of results that matched the search query. Only pageSize elements will be returned.
data[EntitySearchResultEntity]yes The results of the search.
cursorstring  The cursor useds for going to the next or previous page.
hasNextPagebooleanyes Whether there is a next page. False indicates it's the last page.
hasPreviousPagebooleanyes Whether there is a previous page. False indicates it's the first page.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.