Doubt getting messages archived through API REST

I’m using the api rest that’s found here API REST (ofchat) to get the messages archived. But I want to know if there is any way of establishing the amount of messages obtained (for example: 30 messages per query from a date) so as not to receive all at once.

method used: get /restapi/v1/chat/messages