Currently, it looks like the /v0/agents/state/edit/history endpoint returns the full dataset based on the time range and filters applied, and it doesn’t support a limit parameter to control the number of records returned.
This request is to add a limit (and ideally pagination) parameter for this endpoint