Skip to main content

Unless noted otherwise, any endpoint where you list models (e.g. list Segments, Tours, etc.) supports the following pagination parameters.
param-description
limitoptionalDefaults to 50 with a maximum of 500
beforeoptionalUsed when paginating, use directly from the cursor object from the previous response
beforeoptionalRead as “created before” and can be given as a timestamp to get only limit items that were created before this time
afteroptionalRead as “created after” and can be given as a timestamp or ID to get only limit items that were created after this time
By default, all models are returned with the most recently created first (aka descending order). The before and after parameters apply to that ordering.

Examples

Up to 74 Results created within the last 25 hours
{
  "after": 25.hours.ago.iso8601,
  "limit": 74
}
Results created within the last 25 hours but not within the last hour
{
  "before": 1.hour.ago.iso8601,
  "after": 25.hours.ago.iso8601
}