Most Asset API endpoints that return lists of objects support pagination, allowing you to retrieve data in smaller chunks. Asset uses cursor-based pagination, which ensures no records are skipped between pages and provides better performance than offset-based pagination.
When an endpoint supports pagination, the API response includes pagination tokens:
next_page_token
to request the next page.previous_page_token
to request the previous page.null
, there are no additional pages in that direction.To retrieve the next page, include the page_token
parameter in your request:
To request the previous page:
By default, the API returns 50 records per page, with a maximum of 100 records per page. You can adjust this by setting the page_size
parameter: