Skip to main content
Question

List cohorts API - sorting and pagination?


Forum|alt.badge.img

Hi!

Is there any kind of sorting and pagination available for the list cohorts API? (https://www.docs.developers.amplitude.com/analytics/apis/behavioral-cohorts-api/#get-all-cohorts)

 

Obviously the API can’t return the details of an infinite number of cohorts. We appear to be getting 140 back, but this doesn’t include all cohorts for the project. From the documentation it looks like there are no sorting or pagination parameters available. Is that really the case?

How are the results from the API ordered? It doesn’t seem to be any of the parameters that might make sense like “createdAt”, “lastMod” or “lastComputed”.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings