Composite aggregation - When to page


I tried using composite aggregation and using terms value source.
For me it looks like all the responses contain the after_key
How to identify from the response to decide when to send the request for next page?

I could not find the information here

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.