Contents

ResponsePagination

Pagination metadata returned in list responses from Recommendations and Suggestions endpoints.

Declaration

object RecommendationResponsePagination

Properties

NameTypeDescription
offsetint32

The starting position of the current page. Read-only.

pageSizeint32

The number of items returned in this page. Read-only.

totalCountint64

The total number of items matching the query across all pages. Read-only.

Discussion

The ResponsePagination object is the pagination state returned in Recommendations and Suggestions list responses.

To page through results, increment the offset in subsequent requests by the pageSize until offset + pageSize >= totalCount. Unlike cursor-based pagination, offset-based pagination allows jumping to any page directly, though new recommendations may appear or disappear between requests.

Example

{
  "offset": 0,
  "pageSize": 20,
  "totalCount": 47
}

See Also