Return data through API with pagination

Hi,

I have some product info in my Bubble db which I want to share through a Bubble api endpoint.

How can I add pagination to this responses?

Thanks!