For the analytics botflow reporting turns endpoint /api/v2/analytics/botflows/{botFlowId}/reportingturns - see docs, there is an after parameter for which the description is
The cursor that points to the ID of the last item in the list of entities that has been returned.
But the ReportingTurn entity does not have an ID. What value should be used for the after parameter?
Usually it's whatever is in the NextUri of the last call you did, but I would suggest a ticket to support since it appears to be a bug if there's no way to obtain the value from the object itself.
As Eos_Rios states, the nextUri field will contain the whole URL - including the value for the after parameter - for the next page of results. If there are no more pages available (i.e. there is no more data to fetch after the current page) then the nextUri field will not be present in the response.
Michael - I'm using the JS SDK to make requests. Does this mean I need to parse the nextUri field to get the necessary after parameter value? Although it's a good workaround, it seems a little clunky.