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 ofskip
is determined by this maximum and the size oflimit
. For example, when thelimit
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.
Updated 21 days ago