Maintain state between polling intervals

I am using the http_poller input plugin to poll a rest api every n secs. I need to store a value from the response of the current interval and use it in the next interval. Is there anyway to store/maintain this information in LS?

Like a session key or similar? No, but it'd be handy.

The rest api returns paged data which I am trying to ingest using logstash. Is there any plan to add anything like that in future releases ?