hi! Is there a way to get all running experiments ...
# ask-questions
b
hi! Is there a way to get all running experiments with the JS SDK? I see the REST API supports this, but was wondering if the SDK did too.
I tried using
getExperiments
but it returns empty array. It seems it only gets populated after evaluating a feature. But I don’t have the feature keys in code, i would like to get them from growthbook as the source of truth instead of hardcoding them.
oh i think i can use
getFeatures
!
f
you can
oh, all running experiments ever or currently?
b
currently