Contents

QueryRequestPagination

Pagination parameters for a recommendation query request.

Declaration

object RecommendationQueryRequestPagination

Properties

NameTypeDescription
offsetint32

The zero-based index of the first result to return. Use with pageSize to page through large result sets. Defaults to 0.

pageSizeint32

The maximum number of results to return per page. Minimum 1, maximum 1000. Defaults to 20.

Discussion

The QueryRequestPagination controls pagination in recommendation query requests. The response includes a pagination envelope with offset, pageSize, and totalCount indicating how many records matched the filters in total.

To retrieve the next page, increment offset by pageSize:

{
  "offset": 20,
  "pageSize": 20
}

Continue until offset + pageSize >= totalCount. New recommendations may appear or disappear between pages because the result set isn’t snapshotted.

See Also