Hey! I am using the Growthbook Rest API and using ...
# contributing
p
Hey! I am using the Growthbook Rest API and using the experiments endpoint. I am calling get all experiments
/experiments
and am wondering the below. It does not seem to be in the documentation. Thanks! • The max integer for
limit
• Is there a query param to retrieve only a certain status or filter out a status? • Is there a query param to retrieve from descending or ascending order? Like retrieve the latest 25 experiments?
b
Hi Samantha, thanks for reaching out, and for your patience in awaiting our reply! The max integer for the
limit
query parameter is 100. We do not currently offer a
status
or
latest
query parameter. You could pull all of your experiments using the API and then filter through them within your code to mimic that behavior. Please let me know if you have any other questions!