Pagination on /api/v2/analytics/conversations/details/query

Trying to pull full history from the analytics endpoint. The docs mention pageSize but the response has a nextPageToken. My python script just keeps hitting the same page.

POST /api/v2/analytics/conversations/details/query

Should I be using cursor instead? The token doesn’t seem to advance.