API Query Profile - Paging in Post Body

I have an API Query that I created that has the paging details in the post body. Is there a way for me to use the built in paging tools in Matillion for this call.

 

This is the body of the POST. I wasnt sure if we could plug in Parameters to use with this or not.

 

The only info in the response is a totalHits piece that tells me how many records there are but nothing else for paging.

Thanks for the help

I wasnt able to create a new variable in the RSD file but I was able to use some logic to use the current variable thats automatically created by the paging functions in the wizard.

knowing that the rows@next variable would be a place holder for the record count and that it would increment by 50 each time, I could divide that by 50 and add 1 to it to get my current page.