HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Skip & limit

This topic describes the skip and limit parameters, part of the GraphQL API used for the Optimizely querying service, when retrieving content in Optimizely solutions.

How it works

  • Skip is the offset in the result list, for example the position of the first hit. By default this is 0 (when skip is not used. Content Graph returns the top 10,000 hits, so the maximum number of skip is determined by this maximum and the size of limit. For example, when the limit is 20, then the skip can be a maximum of 9,820
  • Limit is the size of the result list, for example the number of hits retrieved per request. By default, this is 20, with a maximum of 100.

When exceeding the maximum values for skip or limit, a validation error will be raised.